a board game where players takes turn placing tokens on a m-by-n board, and the winner being the player who gets to place their tokens in a k-row. Read more here
- Clone the repository:
git clone https://github.com/Calsjunior/mnk-game.git- Open
index.htmlin any modern web browser.
Press Start Game to play a generic game of mnk where m,n,k are all values of three.
Press Settings, and you'll be able to customize the size of m, n, k, and even the amount of players, players' names, and their tokens!
- Add form validation so a game is always winnable.
Add dynamic column size to fit better when values of m, n are large
The purpose of this project was to learn more about OOP, Functional program, the Model-View-Controller pattern, and how all three of these can be used together so that code can be a bit more readable, and maintainable.
This project was completed as a part of The Odin Project's JavaScript curriculum.
