{"id":15155517,"url":"https://github.com/ryuzen6/charleshitwicket_21bai1188","last_synced_at":"2026-01-21T10:36:30.501Z","repository":{"id":254888324,"uuid":"847819497","full_name":"ryuzen6/CharlesHitwicket_21BAI1188","owner":"ryuzen6","description":"A turn-based chess-like game with a server-client architecture, utilizing websockets for real-time communication and a web-based user interface.","archived":false,"fork":false,"pushed_at":"2024-08-26T17:35:03.000Z","size":730,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T15:18:36.968Z","etag":null,"topics":["chess-game","client-server","express-js","game-development","html-css-javascript","node-js","socket-io","websocket-client","websocket-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryuzen6.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-26T15:54:27.000Z","updated_at":"2024-08-26T17:37:50.000Z","dependencies_parsed_at":"2024-08-26T20:50:24.508Z","dependency_job_id":null,"html_url":"https://github.com/ryuzen6/CharlesHitwicket_21BAI1188","commit_stats":null,"previous_names":["ryuzen6/charleshitwicket_21bai1188"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuzen6%2FCharlesHitwicket_21BAI1188","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuzen6%2FCharlesHitwicket_21BAI1188/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuzen6%2FCharlesHitwicket_21BAI1188/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryuzen6%2FCharlesHitwicket_21BAI1188/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryuzen6","download_url":"https://codeload.github.com/ryuzen6/CharlesHitwicket_21BAI1188/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247653419,"owners_count":20973826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess-game","client-server","express-js","game-development","html-css-javascript","node-js","socket-io","websocket-client","websocket-server"],"created_at":"2024-09-26T18:22:56.819Z","updated_at":"2026-01-21T10:36:30.461Z","avatar_url":"https://github.com/ryuzen6.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Turn-based Chess-like Game\n\n## Overview\n\nThis project is a simple turn-based chess-like game implemented with a server-client architecture using WebSockets. The game is played on a 5x5 grid between two players, each controlling a team of characters. The server handles game logic and state, while the client provides an interactive user interface.\n\n## Prerequisites\n\n- Node.js and npm\n- A modern web browser\n\n## Setup\n\n1. **Clone the Repository:**\n   ```bash\n   git clone https://github.com/ryuzen6/CharlesHitwicket_21BAI1188.git\n   cd CharlesHitwicket_21BAI1188\n\n2. **Install Server Dependencies: Navigate to the server directory:**\n   ```bash\n   cd server\n   npm install\n\n3. **Start the Server:**\n   ```bash\n   node server.js\n\n4. **Open the Client: Open client/index.html in two separate browser tabs or windows.**\n\n## How to Play\n\n* Each player controls a team of characters on a 5x5 grid.\n* Players take turns to move their characters.\n* Use the prompt to input moves, such as F (forward), B (backward), L (left), R (right), and combinations like FL (forward-left).\n\n## Gameplay Screenshots\n\n### Game Display\n\n![Screenshot (614)](https://github.com/user-attachments/assets/ad47095c-a4c9-4b40-ace2-d08139f14f3f)\n\n### Input Move\n\n![Screenshot (615)](https://github.com/user-attachments/assets/a30fae5b-0f2f-4753-ac92-3a6c2bf89c92)\n![Screenshot (616)](https://github.com/user-attachments/assets/519da2f8-e1a4-48da-929b-0d8a956b3529)\n![Screenshot (619)](https://github.com/user-attachments/assets/0f9a2df7-3381-4835-85b6-d2e64a6132ee)\n\n### Invalid Move\n\n![Screenshot (621)](https://github.com/user-attachments/assets/bb34d8da-f365-4a98-a4d4-fba53fd6a399)\n![Screenshot (622)](https://github.com/user-attachments/assets/5ad7a778-977f-48a8-8285-026bf9ea7063)\n\n### Not your Turn\n\n![Screenshot (618)](https://github.com/user-attachments/assets/aa9c5b96-8504-41fe-9a0e-17aeac5abfa9)\n\n## Folder Structure\n\n1. **Folder Structure:**\n   ```bash\n   /CharlesHitwicket_21BAI1188\n   ├── client/\n   │   ├── index.html         # Main HTML file\n   │   ├── style.css          # CSS for the game\n   │   └── app.js             # Client-side JavaScript\n   ├── server/\n   │   └── server.js          # WebSocket server\n   ├── README.md              # Project documentation\n   └── package.json           # Node.js dependencies\n\n## License \n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryuzen6%2Fcharleshitwicket_21bai1188","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryuzen6%2Fcharleshitwicket_21bai1188","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryuzen6%2Fcharleshitwicket_21bai1188/lists"}