not-agar

所属分类:Websocket编程
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2024-04-15 15:59:32
上 传 者sh-1993
说明:  A https://agar.io/ clone written in Go with WebSockets as communication protocol, stars:1, update:2024-04-12 15:10:24

文件列表:
back/
front/
docker-compose.yml
test.py

# Agar.io Clone Welcome to the GitHub repository for my personal project, a clone of the popular game [Agar.io](https://agar.io/). This project aims to replicate the addictive gameplay of Agar.io while exploring and implementing a custom binary protocol for efficient data serialization and deserialization between JavaScript and Golang. ## Features - **Custom Binary Protocol:** Utilizes a custom-built binary protocol for communication between the client and server, ensuring fast and efficient data handling. - **Cross-Language Serialization:** Features custom serialization and deserialization techniques that work seamlessly between JavaScript (client-side) and Golang (server-side). - **Advanced Game Logic:** A significant portion of the game logic has been implemented, closely mimicking the original Agar.io gameplay mechanics. ## Getting Started ### Prerequisites Before you begin, ensure you have the following installed: - [Node.js](https://nodejs.org/) - [Go](https://golang.org/) ### Installation 1. **Clone the repository:** ```bash git clone https://github.com/diyor28/not-agar.git cd agar-clone ``` 2. **Install JavaScript dependencies:** ```bash cd front npm install ``` 3. **Run the server:** ```bash cd back/ go run ./src ``` 4. **Start the client:** ```bash npm start ``` This will launch the game client in your default web browser. ## Architecture This project is divided into two main components: - **Client:** Written in JavaScript, the client handles user interactions, rendering, and communication with the server. - **Server:** The server, written in Golang, manages game state, player interactions, and executes game logic. ## Contributing Contributions are welcome! If you have suggestions for improvements or bug fixes, please open an issue or submit a pull request. ## License This project is open source and available under the [MIT License](LICENSE.md). ## Contact If you have any questions or want to get in touch, please send an email to diyor_khaydarov@iota.uz.

近期下载者

相关文件


收藏者