Hey, I'm eaxly. I like code.
I am currently learning to code.
fediverse: @[email protected]
codeberg: eax
A very cool game yes yes give me moneeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeey
Hey, I'm eaxly. I like code.
I am currently learning to code.
fediverse: @[email protected]
codeberg: eax
I tested it on my Macbook and it does not show any errors or anthing similar...
It works FLAWLESS! YAAY
We should implement some Sort of quick-edit for the crypto so we dont have to go trough the whole Code to add the New one... Like a config File
Hey there!
Right now, the user needs to add the default mods manually, which isn't very practical.
Maybe just add some 4 to 5 default mods?
Just to propose something, maybe:
@Error-PY, what do you think?
Save the Cryptocurrency values in USD to a file instead of always rescraping them.
I am thinking having a json file, were all the values are stored, and the last date of scraping the cryptocurrency data.
If the date is older than 12 hours(?), the values get updated, else they get returned.
sell_crypto() does not handle the case of empty files and throws an error.
Exception has occurred: ValueError
invalid literal for int() with base 10: ''
File "/home/axolotl/Projects/Repos/cryptillionaire/game.py", line 133, in sell_crypto
selling = int(selling) - int(sell_amount)
File "/home/axolotl/Projects/Repos/cryptillionaire/game.py", line 204, in main_menu
sell_crypto()
File "/home/axolotl/Projects/Repos/cryptillionaire/game.py", line 219, in <module>
main_menu()
As we are working with money, we need decimal support. And for that we need to use floats
not integers
or ints
sell_crypto()
does not automatically create the files:
bitcoin.txt
ethereum.txt
binance.txt
tether.txt
saves
[Errno 2] No such file or directory: '/home/username/Projects/Repos/cryptillionaire/saves/bitcoin.txt'
File "/home/axolotl/Projects/Repos/cryptillionaire/game.py", line 79, in sell_crypto
f_btc = open(saves_path_main + "bitcoin.txt", 'r+')
File "/home/axolotl/Projects/Repos/cryptillionaire/game.py", line 204, in main_menu
sell_crypto()
File "/home/axolotl/Projects/Repos/cryptillionaire/game.py", line 219, in <module>
main_menu()
Starting from #Removing Crypto from Account
(line 132 in game.py) the game just ends after the first if, elif statement.
Put all the .py files into a src/ directory.
Like that, things are more visible.
├——game.py
├──Pipfile
├──Pipfile.lock
├——README.md
├——str2float.py
```
#### After
```
├——src
├——game.py
├——str2float.py
├——Pipfile
├——Pipfile.lock
├——README.md
```
see more organized and more friendly to work with.
(please accept thi... 8ikmnh ujm,.lo ujm, ik, ysefv njik,lp)
Here shall be dragons.
rich is a py lib all about input/ouput handling and coloring. (I have used it in basically all my projects)
Rich can make things pretty. Yes alright that is obvious, BUT it has also a lot more advanced features, like tables, columns, live text, Progress bars and much more...
I am basically trying to convice @Error-PY to use rich.
saves/
is not created automatically if it does not exist
Files like money.txt
and tutorial.txt
are autocreated, but(!) all cryptocurrency files are not automatically created. (bitcoin.txt
, ethereum.txt
...)
This is the manual testing thread for the Linux Kernel.
Tested on ArchLinux with python v3.9.7
.
Basically putting the results of my manual testing into this GitHub issue
We cant add offline support because crypto cant be predicted easily and people could abuse false predictions
The Website displays prices in euro but we are using dollar in our game
When trying to:
Traceback (most recent call last):
File "/home/axolotl/dev/prj/cryptillionaire/src/game.py", line 297, in <module>
main_menu()
File "/home/axolotl/dev/prj/cryptillionaire/src/game.py", line 275, in main_menu
show_crypto()
File "/home/axolotl/dev/prj/cryptillionaire/src/game.py", line 65, in show_crypto
print(mod_bootloader.dictionary_names(count))
File "/home/axolotl/dev/prj/cryptillionaire/src/mod_bootloader.py", line 71, in dictionary_names
return crypto_names_list[mod_index]
IndexError: list index out of range
The tether Price Stays at 1$, on the website its jumping around 0.8531 euro
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.