Skip to content

Commit d31aa93

Browse files
committed
Add basic HTML client for PolyCore Tetris with WebSocket support
1 parent f7633b1 commit d31aa93

3 files changed

Lines changed: 629 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ PolyCore is a lightweight, real-time multiplayer Tetris server built with Java a
3030
- 🎮 **Full Tetris Mechanics** - Rotation, hold piece, hard drop, line clearing, and more
3131

3232
### Clients
33-
#### Currently, there are no official clients for PolyCore.
33+
#### Currently, there is only one very basic example client (Written with Github Co-Pilot)
3434
#### However, you can create your own client using any WebSocket library that follows the packet structure defined in the documentation below.
3535
#### I do plan on creating a simple web-based client in the future (or even a Java-based one), as soon as the Server is working as intended.
3636

37+
- [Example Client](https://github.com/JoshiCodes/PolyCore/tree/master/clients/example/)
38+
* A very simple example Client written in HTML and JavaScript, which can be used as a base for your own client or just to test the server functionality.
39+
<br>(Used for initial testing, written by Copilot)
40+
3741
---
3842

3943
## 🚀 Getting Started

clients/example/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Example HTTP Client
2+
3+
This is an example HTTP Client for PolyCore,
4+
to demonstrate how to connect to the WebSocket, Authenticate and use the Server.
5+
6+
I do plan on creating a new, better client in the future, but for now this is just a simple example to test the Server functionality.
7+
8+
<br><br>
9+
10+
<div align="center">
11+
12+
**Written with Github Co-Pilot, not intended for production use, just for testing the Server functionality.**
13+
14+
</div>

0 commit comments

Comments
 (0)