Advertisement
risbah

TicTacToe Spring project

Jan 16th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. Here's your exam:
  2. 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.
  3. You are NOT allowed to search for or copy any code from the Internet. You must write your code from scratch.
  4. 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.
  5.  
  6. 1) You may identify the tic-tac-toe cells as numbers 1 to 9.
  7. 2) Player 1 will enter the cell number where he will place his token
  8. 3) After that, Player 2 will enter the cell number where he will place his token
  9. 4) The application should check if there is a winner and display a message (e.g., β€œPlayer 1 wins!”)
  10. 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).
  11.  
  12.  
  13. ### LINKS
  14. - Spring boot tutorial: https://www.youtube.com/watch?v=vtPkZShrvXQ
  15. - Project template file generator: https://start.spring.io/
  16. - RESTful web service guide: https://spring.io/guides/gs/rest-service/
  17. - Maven setup: https://imgur.com/a/LuMHMKI
  18. - https://pastebin.com/B6U1FbfF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement