generated from mimuw-jnp2-rust/task-project
-
Notifications
You must be signed in to change notification settings - Fork 1
Feedback #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
github-classroom
wants to merge
22
commits into
feedback
Choose a base branch
from
main
base: feedback
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feedback #1
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2570ca1
Setting up GitHub Classroom Feedback
github-classroom[bot] 78a1938
First design for the RustyCards project
rog1gor 2c2dd76
Renaming the project title
rog1gor 0d445aa
Updated libraries
rog1gor 6453709
Refactored project template
rog1gor e2a3bf9
project template
rog1gor 8e101ef
Sending and receiving stream from other client implemented
rog1gor a0a4ba1
struct minion first version finished
obukaj 8a0d0e4
Merge branch 'main' of github.com:mimuw-jnp2-rust/project-rustycards
obukaj 5a2a777
Fixing main
obukaj 990dfe0
Delete server directory
rog1gor ba25077
Delete client directory
rog1gor f26cdeb
Implementation of p2p client and server that handshakes them
rog1gor adbc4a1
Project state update
rog1gor 095aaf9
Most of the funcionalities ready
rog1gor 63d9582
The game is playable
rog1gor e389c09
Cleaning clippy warnings
rog1gor c5db2e1
Resolving comments giveon on 1st part of the project
rog1gor a16c912
Cleaning up game crate
rog1gor ae2cdf8
Adding tutorial to the game
rog1gor d1e604f
Adding colors to the game
rog1gor 9d4b623
Updated the second part of the project
rog1gor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,48 @@ | ||
# Frobnicator (this is a template) | ||
# RustyCards | ||
|
||
## Authors | ||
- Andrzej Głuszak (@agluszak on GitHub) | ||
- Linus Torvalds (@torvalds on GitHub) | ||
- Igor Kamiński (@rog1gor on GitHub) | ||
- Jakub Owczarek (@obukaj on GitHub) | ||
|
||
## Description | ||
Frobnicator is going to be a platformer game similar to Super Mario Bros made using Bevy game engine. | ||
Rusty Cards is going to be a duel, card game with online gameplay. | ||
|
||
## Features | ||
- map generator | ||
- shooting | ||
- enemy AI | ||
- game state saving and loading | ||
- scores | ||
- Lobby that enables connection beetween two players with GUI | ||
- A duel with GUI: | ||
- Drawing cards | ||
- Gaining mana | ||
- Droping cards into the battlefield | ||
- Attacking with the cards on your battlefield | ||
|
||
## Later Features | ||
- Card collection | ||
- Customizable decks | ||
|
||
## Plan | ||
In the first part we're going to implement the basics: movement, physics and shooting. The enemies will simply bounce from one edge of the platform to the other. There will be only a single map. | ||
In the first part we're going to implement the logic that stays behind the game. It will be possible play the game with one deck, using command line (without GUI). | ||
|
||
In the second part we're going to create a lobby and add GUI. | ||
|
||
In the second part we're going to add random map generator, saving/loading, scores and a more sophisticated AI. | ||
Later we will try to develop the project - we will add more cards, card collection and we will enable deck custommization. | ||
|
||
## Libraries | ||
- Bevy | ||
- Serde (for serialization) | ||
- bevy ECS (for game engine) | ||
- nannou (graphics) | ||
|
||
## First part of the project | ||
- The client and the server (lobby like) is ready | ||
- There are some delays with game logic | ||
- To run the server you need to run cargo run in server directory | ||
- To run the client you need to run cargo run in client directory | ||
- To setup clients and server there are multiple command line messages that should help with the setup | ||
|
||
## Second part of the project | ||
- The client and the server are ready and the problems from the first part are solved | ||
- The game logic is implemented - the game can be played remotely! | ||
- Due to some problems I ended up writing these parts of project on my own, so I didn't have enaugh time to implement GUI other than the one in console (It is nice though) | ||
- To run the server you need to run cargo run in server directory | ||
- To run the client you need to run cargo run in client directory | ||
- To setup clients and server there are multiple command line messages that should help with the setup | ||
- There is a tutorial that will help you go through the game basics |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[package] | ||
name = "rusty_cards" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
game = { path = "./game" } | ||
log = "0.4.17" | ||
serde = { version = "1.0.151", features = ["derive"] } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nie jestem pewien, czy łączenie Bevy z Nannou to dobry pomysł: obydwa raczej działają z założeniem, że zarządzają własnym oknem i grafiką. Chyba lepiej byłoby do bevy użyć egui albo bevy_prototype_lyon (do rysowania prostych kształtów jak svg)