My take on simple connect four logic. I may expand this further for use in a GUI
Quick little java code exercise to share with friends who are beginning with the language. Uses Java, gradle, spring boot, streams, optionals, lombok.
- Resizable game board
- Changeable win target
- Gamepieces contain their position
- Win detection returns (first detected) winning set
- Column out of bounds detection
- Column full detection
- Game over detection