Home - mfdgames/danger-zone GitHub Wiki

Welcome to the Danger Zone Wiki by MFD Games!

I'm beginning an ambitious project, considering my friends' and I's lack of coding knowledge, to create a series a games inspired by Math Field Day, an event we all participated in as kids. The games involved using strategy and logic to best your opponent, and they are all wildly entertaining as well as mentally exerting.

Our problem is that most of these games seem to only exist in paper, which makes it difficult for children to practice them and almost impossible for older children, like myself, to play them. As a result, we want to create online versions of these games that have single-player and multiplayer capabilities, as well as a fun UI. This project will simultaneously teach us how to code and provide younger kids with a more efficient and accessible way to play these strategy games.

Out of the games we want to produce, Danger Zone is the easiest to play and build. In this game, two players head down a zig-zag path that resembles a "U". The inner portion of the path is referred to as the "Danger Zone", while the outer portion is "Safe". The players alternate turns moving, and can choose to move one, two, or three spaces each turn. When the players meet on the path and neither of them can move any further, the player in the "Danger Zone" looses. In each game of Danger Zone, one player will always end up in the "Danger Zone", and one player will always be "Safe". There is away to guarantee victory for whichever player goes first, however I do not know that solution at this time. Also, a graphical representation will be provided in the next entry so that readers can better understand how the game works.

This diary will chronicle my team and I's experience with building Danger Zone, and we will log our changes to the the game's code. Welcome to Danger Zone!