A collaborative 2D multiplayer game implemented using HTML5, CSS3, and JavaScript with real-time communication capabilities through WebSockets.
- Features
- Getting Started
- Gameplay
- Technologies Used
- Setup Instructions
- Contributing
- Screenshots
- License
- Real-time player movement synchronization.
- Coin collection with score tracking for two players.
- Simple audio feedback on coin collection.
- Responsive design suitable for various screen sizes.
- Start the game and share your room code with another player to invite them to join.
- Use arrow keys or WASD controls to move your character around the game area.
- Collect coins scattered across the game area to increase your score.
- Real-time updates ensure that both players see the same game state.
- HTML5 for structure and content.
- CSS3 for styling and animation.
- JavaScript for logic, event handling, and real-time communication through WebSockets or similar protocols.
- WebSockets for peer-to-peer connection establishment and data transmission between players.
- A modern web browser (Chrome, Firefox, Edge).
- Node.js with npm/yarn installed to run the backend server if necessary. (Optional: If not using a static file server.)
- Clone this repository onto your local machine:
git clone [email protected]:AlexZ005/skycoiner.git
- Navigate into the project directory.
For development purposes, you may need to start a local web server to serve the game files. Use a simple HTTP server like live-server (npm package) if no backend is involved:
npm install -g live-server # Install live-server globally live-server . # Start the server in this directory
Alternatively just move index.html into the browser new tab.
The screenshots of a game can be found in Releases page.
Contributions are welcome! Please submit a pull request for any improvements, bug fixes, new features, etc. Be sure to follow existing code styles and include tests when appropriate.
This project is licensed under the MIT License - see the LICENSE file for details.