C++ & JavaScript Chutes & Ladders

Project Details

I wrote this program in C++ and JavaScript to allow one or more people to play against each other or the CPU, or just CPU versus CPU if you want to watch them duke it out until the end is reached. The C++ side of this app handles the core game logic, random dice roller, and automated CPU. The JavaScript side handles the visual content and interaction between the user and the browser. The JavaScript also initializes the game logic into the web browser. All players will receive a notification every time a player reaches the final square at the top, and the game may continue until every player makes it to the end of the board. For ease of use, I've converted it into a web app and embedded it so you can play the game on this site. Try it out!