Tankkupper / Tic-tac-toe

CS209 assignment2 for Tankkupper. Have fun.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment 2 Tic-tac-toe Game

This is a template for CS209A-22fall, assignment 2.

How to start?

Install

Enter the github repository and fork the repo. Clone the repo to your local machine.

Start the game

The main function entry: src/application/Main.java.

image-20220930180502858

Now you can click the chessboard and play the game!

image-20220930180659882

Java Version

The java version for reference. If you want to use another java language level, maybe there will be something wrong. Feel free to explore!

image-20220930145108089

You can use System.out.println(com.sun.javafx.runtime.VersionInfo.getRuntimeVersion()); to check the version of javafx. The following screen-shot is the version of my machine.

image-20221026155813168

Demo View

This is a demo view for the assignment. However, the basic functions are not complete yet. You should do it by yourself!

image-20220930144914104

TODO

  • Server (35pt.)
  • Client/Player (35pt.)
  • GUI (15pt.)
  • Exception Handling (15pt.)
  • Bonus (15pt.)

Hint

You need to first decouple the view and controller, divide the controller into two components: client and server, and then use socket to communicate between the two components to complete the basic functions.

About

CS209 assignment2 for Tankkupper. Have fun.

License:MIT License


Languages

Language:CSS 50.5%Language:Java 49.5%