CodeSolved

Solved Programming Questions & Exercises

Point of the line

Practice Hard 1725/ Download 162 Views

Write a program to implement the game point so that the two players can turn together the points and build a square by drawing lines between the points. This program should include:


1. Draw a 5x5 network of points where players can choose the gap between them.

2. Manage the player's turn and show each player's turn on the page.

3.

4. Check out the game's end and announces the winner based on the number of squares made.

This exercise is a project! It has the potential to be expanded much further, so take the main idea from here and work on it more to turn it into a larger project.

0 Answers

Submit answer

Submitting answers is currently unavailable.

×
×
Close