Hello, In 2015/2016 i created this version of RISK in HTML/CSS/PHP and JS(JQuery). It was unfinished(but working) when I had to turn in this assignment.
For a quick look you can watch this video:
Link for mobile users: video
How does the game work?
The game is very simple. Once the game has started every player has the ability to place a number of soldiers dependent on how much land/how many continents(and which ones) they have. Then the player has an attack/move option, You can attack counties close to you which are not yours or move to a neighboring allied country.
Turns are calculated all at once. Once every player has done their turn. So that is a bit different from normal Risk.
What did you not get to finish?
I did not get to finish turn text, This would be a piece of text generated by the engine after everyone’s turn has been processed so you can see all the moves everyone made before deciding your next move.
I would have liked a better visual approach where you would be able to see old game states and the turns done on that game state. I wanted it so that you could go through the entire match history to see who attacked what, where and with how many soldiers. But I did not have enough time to implement it.
What did you learn?
I learned a lot of PHP/JS(JQuery)/HTML and MySQL for this project. It was 4 or even 5 years ago that I made this. I was very new to programming back then so I still had lots to learn.
What would you do differently now?
I think with the coming of HTML5 this project in the right hands could become a very nice website where one could play risk, I am going to reprogram this with the skills I have now which will be posted to this blog.
Once I have it reprogrammed I will post the link here below for part II.
Link: Not Yet 🙁