Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MNK-Game

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

Table of Contents

Preview

MNK-GAME

Installation

  1. Clone the repository:
git clone https://github.com/Calsjunior/mnk-game.git
  1. Open index.html in any modern web browser.

Usage

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!

To-Do

  • Add form validation so a game is always winnable.
  • Add dynamic column size to fit better when values of m, n are large

Developer's note

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.

Acknowledgments

This project was completed as a part of The Odin Project's JavaScript curriculum.

License

MIT (c) Calsjunior

Releases

Packages

Contributors

Languages