card_game's People
card_game's Issues
character selection
a way to select a run
keep better track of what happened during a turn
right now the client is only told what the new state is of the battle. Not how it got there. If it is also told what cards got played and what runes triggered then it is able to play animations
more/easier transactions
right now the server doesn't make use of transactions, because they are kind of a pain to deal with.
This can be fixed by making a function with this signature
with_transaction(
pool: PgPool,
func : impl Fn(t: Transaction) -> Future<Result<impl Response,ReturnErrors>>
) -> future<Result<impl Response, Rejection>
Which will simply commit the transaction if func returns Ok and rolls it back if it returns Err. This should also make exception handling easier inside the other functions as they can now return a ReturnErrors
instead of a Rejection
Dependabot couldn't find a Cargo.toml for this project
Dependabot couldn't find a Cargo.toml for this project.
Dependabot requires a Cargo.toml to evaluate your project's current Rust dependencies. It had expected to find one at the path: /Cargo.toml
.
If this isn't a Rust project, or if it is a library, you may wish to disable updates for it from within Dependabot.
Random accidental code review
Lines 61 to 66 in fffcc20
Could be better written (without an expect) as such:
self.casted.push(card.clone());
Ok(card)
move through the dungeon
- make the player able to move through the dungeon
- have some cards trigger fights
better documentation on how the api works
probably blocked by seanmonstar/warp#89 to do it automatically.
However, at least automatically creation json_schema's is a good first step https://crates.io/crates/schemars and can already be done.
dungeon generation
- generate a dungeon using cards
- give the player some cards to complete the dungeon
- let the player use these cards
character creation
for now, should be something simple and should just be a way to link decks to a specific run
Dependabot couldn't find a Cargo.toml for this project
Dependabot couldn't find a Cargo.toml for this project.
Dependabot requires a Cargo.toml to evaluate your project's current Rust dependencies. It had expected to find one at the path: /Cargo.toml
.
If this isn't a Rust project, or if it is a library, you may wish to disable updates for it from within Dependabot.
better card images
text is not correctly placed inside the svg template. Causing cutoff's and new lines in descriptions don't work at all.
Also, there is no way to have the svg contain an image yet.
add an AI
right now the "AI" just selects the first card in its hand. This should be improved.
Dependabot couldn't find a Cargo.toml for this project
Dependabot couldn't find a Cargo.toml for this project.
Dependabot requires a Cargo.toml to evaluate your project's current Rust dependencies. It had expected to find one at the path: /Cargo.toml
.
If this isn't a Rust project, or if it is a library, you may wish to disable updates for it from within Dependabot.
random idea issue
Just an issue I can use to dump random ideas for the game
That's an interesting concept. There is an event in Slay the Spire that I think would be interesting in this context, depending on how your applying it. The ability to stash a card from your deck. In slay the spire it results in that card being stashed for your next run where you encounter the event and removes the card which has an interesting duel purpose. I could see that being quite interesting in an inderect multiplayer context though. Could be quite interesting.
@Videogamester
switch to sqlx 0.4 with offline support
seems like sqlx 0.4 will contain a cli tool to create and manage migrations. It also allows the macro's to run in offline mode, meaning it doesn't need to check against a real database anymore but instead can use the migrations.
Though sqlx 0.4 is not released yet, I want to switch to it ASAP so this issue serves as a good reminder
Dependabot couldn't find a Cargo.toml for this project
Dependabot couldn't find a Cargo.toml for this project.
Dependabot requires a Cargo.toml to evaluate your project's current Rust dependencies. It had expected to find one at the path: /Cargo.toml
.
If this isn't a Rust project, or if it is a library, you may wish to disable updates for it from within Dependabot.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.