Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here's your exam:
- Instruction: Create a web app tic-tac-toe program using Java and MySQL. You donβt need to create a nice-looking UI. Just provide a way for 2 players to play tic-tac-toe.
- You are NOT allowed to search for or copy any code from the Internet. You must write your code from scratch.
- However, you are allowed to search for syntax of the programming language of your choice (e.g., Python, Java, JavaScript) in w3schools.com or other reference sites.
- 1) You may identify the tic-tac-toe cells as numbers 1 to 9.
- 2) Player 1 will enter the cell number where he will place his token
- 3) After that, Player 2 will enter the cell number where he will place his token
- 4) The application should check if there is a winner and display a message (e.g., βPlayer 1 wins!β)
- 5) Save the score in a MySQL database. Show high score feature (web page showing player names and scores; from highest score to lowest score).
- ### LINKS
- - Spring boot tutorial: https://www.youtube.com/watch?v=vtPkZShrvXQ
- - Project template file generator: https://start.spring.io/
- - RESTful web service guide: https://spring.io/guides/gs/rest-service/
- - Maven setup: https://imgur.com/a/LuMHMKI
- - https://pastebin.com/B6U1FbfF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement