This is a simple python text game.
[Should put some more description here!!]
This is a simple python text game.
[Should put some more description here!!]
There no text in the readme file
Add race: Fairy
The first prompt is kind of abrupt. It would be nice to print some text to introduce the game before that first prompt.
I don't understand your game; it is badly written lol
You ask for the race and class at the start of the game, but it is never used anywhere (except for display).
It should affect the characteristics of the hero.
Maybe it could be used to set the initial health or damage (attack strength) for the hero?
I get an exception if I put 'elf' in as my race selection.
Please see the following steps to reproduce this problem.
Choose a race
1- Human 2- Elf 3- Orc
My race is: elf
Traceback (most recent call last):
File "./knight-training", line 258, in <module>
main()
File "./knight-training", line 227, in main
create_hero()
File "./knight-training", line 105, in create_heroe_choice = int(input("My race is: "))
ValueError: invalid literal for int() with base 10: 'elf'
During the battle loop, allow the user to select 'attack', 'defend', or 'heal', instead of just always attacking.
This will require that the hero class have support for defend strength and heal power, so those numbers can be used
when performing that battle action.
I'd like to know if I can use this code in other projects. What is the license?
Can you please add a LICENSE file (or at least some SPDX tags)?
The README needs to add some material about the purpose of the game, and how to play it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.