Academia.eduAcademia.edu

SNAKE AND LADDER GAMES

Snake and Ladder game is an interactive game system that enable users to get play with a few players from different devices. With this system, user can interact with each other through the game by using the chatting platform build in this game itself. This chatting platform allow communication of users while playing the game. This snake and ladder game was developed to replace the old way of playing this game which is by using traditional game board. This old way are just too boring and it is not interactive to play nowadays. While develop this game, a few type of software such as Adobe Photoshop and Netbeans has been used.

SNAKE AND LADDER GAMES Siti Nurafifa Silmi Abdul Fattah (AI 160153) Faculty of Science Computer and Information Technology University Tun Hussein Onn Malaysia Batu Pahat, Johor [email protected] Wan Nur Fatin Hazwani Wan Noor Jamil (AI 160130) Faculty of Science Computer and Information Technology University Tun Hussein Onn Malaysia Batu Pahat, Johor [email protected] Syaza Sofira Borhanuddin (AI 160267) Faculty of Science Computer and Information Technology University Tun Hussein Onn Malaysia Batu Pahat, Johor [email protected] Nursyazwana Mohamed (AI 160092) Faculty of Science and Information Technology University Tun Hussein Onn Malaysia Batu Pahat, Johor [email protected] Siti Nor Adila Mansor (AI 160052) Faculty of Science Computer and Infornation Technology University Tun Hussein Onn Malaysia Batu Pahat, Johor [email protected] Dr, Mohd Amin Mohd Yunos Faculty of Science Computer and Information Technology University Tun Hussein Onn Malaysia Batu Pahat, Johor [email protected] Abstract— Snake and Ladder game is an interactive game system that enable users to get play with a few players from different devices. With this system, user can interact with each other through the game by using the chatting platform build in this game itself. This chatting platform allow communication of users while playing the game. This snake and ladder game was developed to replace the old way of playing this game which is by using traditional game board. This old way are just too boring and it is not interactive to play nowadays. While develop this game, a few type of software such as Adobe Photoshop and Netbeans has been used. Keywords—Snake and Ladder, Photoshop, Netbeans Introduction We choose to develop an interactive game system called Snake and Ladder game as our project for Distributed System. This Snake and Ladder game is a game that are used to replace the old way of playing Snake and Ladder game. Before this, Snake and Ladder game is played between two or more players on a game board having numbered, grid squares. A number of “ladders” and “snakes” are pictured on the board, each connecting two specific board squares. The object of the game is to navigate one’s game piece, according to dice rools, from the start (bottom square) to the finish (top square), helped or hindered by ladders and snakes respectively. The game is a simple race contest based on sheer luck, and is popular with young children. This Snakes and Ladder game system still use the same to play this game, users will have to roll a dice to determine the number of steps need to be move forward in the game and have to move according to the number on the rolled dice. Then, the system will check if the user is on the snake, ladder or not on any. If the user is on the ladder, the user will be bring forward to the respective square but if the user is on the snake, the user will then brought backward according to the shape of the snake. Users have to roll the dice and go through all obstacles to reach the end point. There is also a chatting platform in this system, using this platform users can communicate or interact with other players in this game system. As a conclusion, this Snake and Ladder game system is more convenient and interactive compared to the manual board Snake and Ladder game. Figure 1: Classic Snake and Ladder Game Board Originally, the game of Snakes and Ladders was known variously as Gyan Chaupar (meaning ‘Game of Knowledge), Mokshapat, and Moksha Patamu, and was originally a Hindu game. Nobody knows for sure as to who invented this game, or when it was created. It has been speculated that this game was already being played in India as early as the 2 nd century AD. Others have credited the invention of the game to Dnyaneshwar (known also as Dnyandev), a Marathi saint who lived during the 13th century AD. In any case, this dice board game became popular amongst the children of ancient India. It may be said that whilst the gameplay of Gyan Chaupar is the same as today’s Snakes and Ladders, the board and higher objective of the game may be said to be quite different. Like the modern Snakes and Ladders board, the number of squares in that of Gyan Chaupar may vary. One version of this board, for instance, contains 72 squares, whilst another has 100. A major difference between the traditional and modern versions is the fact that in the former, a virtue or a vice and the effects of these virtues and vices, or something neutral is placed within each box. SYSTEM ARCHITECTURE This system is using client – server model to demonstrate the architecture of the system. This system is using client-server model to display the architecture of the system. Figure below show the system architecture for the Snake and Ladder game system. This system consists of one server and five client. To play this game, we need to start the server first. Then all the client can make invocation to the server by enter the ip address of the server for asking permission from the server to connect to the server for playing the game. Then the server will give the result whether the client can connect to the server or not. After the successful connection, client can input their name to start playing the game. Only five client can play the game at the same time. Figure 2: System architecture for snake and ladder games Figure 3 show the 2 tier architecture for the system that consists of two level of process that are for client and server. Client process for tier 1 is a client device that connect to the server. In this process client can view the interface of the system and play the game. While in tier 2 are server process, process happen in the server such as data management cannot be view by client. Figure 3: Two-tier architecture Figure 4 shows the 3 tier architecture for the system. For tier 1 and tier 2 are same as in 2 tier architecture. While for tier 3 are a server storage or database that contains the data of the system. Figure 4: Three-tier architecture INTERFACES Player will connect through the server interface such in Figure 5. There are three stages as in state in map which is Easy, Medium, and Hard. After all player has been connected, the ‘Start Game’ button will be pressed to start the game. All players will continue playing and chatting as in Figure 6. Figure 5: Snake and Ladder Server Interface Figure 6: Snake and Ladder Client Interface CONCLUSION For the conclusion, this system is a multiplayer game that can be played by maximum five player at one time. Client can make a connection from different devices and can to connect to the server as long as the connection is available such as internet, Wi-Fi, cable or hotspot. Client also need to know the IP address of the server to make a connection. Client can experience an interactive Snake and Ladder game from a different location without need to meet all the player and this is more interactive since all players can communicate through chatting platform. References Client Server Architecture. (n.d.). Retrieved from Techopedia: https://www.techopedia.com/definition/438/clientserver-architecture fadlika. (2012, 10 13). Simple Client Server Programming. Retrieved from WordPress: https://fadlikadn.wordpress.com/2012/10/13/simple-client-server-programming/