https://github.com/nickklos10/adventure-battle
A full-stack application built with Python, Flask, HTML, CSS, and JavaScript for an interactive multiplayer game
https://github.com/nickklos10/adventure-battle
css flask fullstack-development html javascript object-oriented-programming python webapp
Last synced: 2 months ago
JSON representation
A full-stack application built with Python, Flask, HTML, CSS, and JavaScript for an interactive multiplayer game
- Host: GitHub
- URL: https://github.com/nickklos10/adventure-battle
- Owner: nickklos10
- Created: 2024-07-11T21:57:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-27T18:35:36.000Z (4 months ago)
- Last Synced: 2025-01-27T19:46:49.905Z (4 months ago)
- Topics: css, flask, fullstack-development, html, javascript, object-oriented-programming, python, webapp
- Language: CSS
- Homepage: https://nicoucf.pythonanywhere.com/
- Size: 30.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Adventure Battle Game
### Description
Adventure Battle Game is a full-stack application that provides a dynamic and interactive game where players move around a game board, collect treasures, and compete against each other. The game ends when all treasures are collected or only one player remains.
## Features
- Multiplayer Support: Allows multiple players to join and compete.
- Dynamic Game Board: A game board that updates as players move, collect treasures, and eliminate each other.
- Interactive Gameplay: Players can move in different directions and distances.
- Game State Management: Keeps track of player positions, collected treasures, and remaining players.
- End Game Conditions: The game ends when all treasures are collected or only one player is left, with the player having the highest points declared the winner.## Technologies Used
- `Backend:` Python, Flask
- `Frontend:` HTML, CSS, JavaScript## Key Functions in the backend
- `Initialization:` Initializes the game with the specified width, height, and number of players.
- `Movement:` Allows players to move in specified directions and distances.
- `Treasure Collection:` Players can collect treasures located on the game board.
- `Player Elimination:` Players can eliminate other players by moving to their position.
- `End Game:` Determines the winner based on the highest points or the last remaining player.## Running the Game
1. Open your web browser and go to [Adventure Battle](https://nicoucf.pythonanywhere.com/)
2. Start a new game by entering the game board dimensions and the number of players.
3. Follow the on-screen instructions to move your player and collect treasures.