Guido Knips
7a62098e94
Un-ignore Cargo.lock
...
Official cargo documentation says Cargo.lock should be
under version control for binaries (but not for libraries)
see https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
2023-08-28 21:06:35 +02:00
drewjcooper
4722cbded8
Code cleanup
2023-02-16 18:02:04 +11:00
drewjcooper
699412adb8
Reorganise code
2023-02-16 12:22:59 +11:00
drewjcooper
2d9d890269
Finish game logic
2023-02-15 17:49:22 +11:00
drewjcooper
25dba634c5
Add game loop and objects
2023-02-05 22:47:02 +11:00
drewjcooper
9a1e8e8875
Add game start
2023-02-05 21:28:51 +11:00
drewjcooper
3c9c04429d
Add string resources
2023-02-05 19:05:23 +11:00
drewjcooper
487b7ded98
Configure project
2023-01-31 07:40:47 +11:00
Uğur Küpeli
09979ac0f8
rust port : update
...
updated morristown functions
2022-05-08 18:52:41 +03:00
Uğur Küpeli
e7555fae96
75_Roulette/rust
2022-05-08 14:39:46 +03:00
Uğur Küpeli
cd7ed8c3fb
basic loop done
...
- print check tODO
2022-05-08 13:27:05 +03:00
Uğur Küpeli
d566a7df48
update
2022-05-07 17:39:01 +03:00
Uğur Küpeli
15eb81cb2e
Init
...
intro / instructions
getting bets
2022-05-07 17:18:15 +03:00
Martin Thoma
e17388d072
Use NamedTuple; Fix camelCase->snake_case
2022-04-02 11:22:40 +02:00
Martin Thoma
ac184fec42
Python: Type annotations
2022-04-02 10:56:43 +02:00
Martin Thoma
4b3b991273
Use docstrings
2022-04-02 08:10:01 +02:00
Martin Thoma
83b3dc402c
Python: Add type annotations
2022-03-20 19:16:39 +01:00
Jeff Atwood
f40a1fc465
add Porting Notes to readme.md for each game
2022-03-18 19:50:22 -07:00
Martin Thoma
3b2739b8a2
Clean Code: Apply flake8-simplify to Python
...
Also flake8-comprehensions which was added to the CI
For flake8-simplify, there are a few false-positives,
e.g. https://github.com/MartinThoma/flake8-simplify/issues/115
2022-03-18 22:29:56 +01:00
Jeff Atwood
6f6ac93d1f
Merge pull request #633 from mojoaxel/js-terminal-style
...
Add "nice" terminal style stylesheet for javascript html
2022-03-15 23:50:18 -05:00
Jeff Atwood
43f2ec013a
add 00_Alternate_Langage folder and move alternate ports there
2022-03-15 20:49:07 -07:00
Alexander Wunschik
f2b3d6f2ed
add terminal-stylesheet for javascript html
2022-03-13 11:23:05 +01:00
Martin Thoma
af88007734
Python: Fix Flake8 E722 and E741
...
Additionally:
* Use functions to group blocks of code
* Use variable names (not just one character...)
2022-03-12 08:17:03 +01:00
Martin Thoma
e64fb6795c
MAINT: Apply pre-commit
...
Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
2022-03-05 09:29:23 +01:00
Zev Spitz
75def2707d
Add sln and csroj/vbproj files where missing
2022-01-16 08:17:31 +02:00
Thomas Kwashnak
f87d306b0f
Added some descriptors to iterative
2022-01-11 21:05:35 -05:00
Thomas Kwashnak
76d5f2dde2
Expanded README to describe different implementations
2022-01-11 21:03:33 -05:00
Thomas Kwashnak
daa06846bf
moved implementations to individual folders
2022-01-11 20:59:56 -05:00
Jeff Atwood
1a571b6f87
Merge pull request #487 from trwyant/75_Roulette_perl_trw
...
Port 75_Roulette to Perl.
2022-01-11 14:05:47 -08:00
Tom Wyant
09b0e972cd
Port 75_Roulette to Perl.
...
The directory includes a Perl script to test the port (roulette-test.t)
and a Perl script to generate the test based on output from the BASIC
implementation (make-roulette-test.pl).
2022-01-11 17:00:28 -05:00
Jeff Atwood
79af7d200e
Merge pull request #485 from LittleTealeaf/75_Roulette_Python
...
75 Roulette in Python
2022-01-11 13:49:45 -08:00
Jeff Atwood
097afb43d8
Merge pull request #486 from andrewmcguinness/dev
...
75_Roulette in java
2022-01-11 13:49:17 -08:00
andrew
3d46e147f5
readme
2022-01-11 21:40:31 +00:00
andrew
5c632b2d7e
75_Roulette in java
2022-01-11 21:35:09 +00:00
LittleTealeaf
11fb8f778f
Added comments
2022-01-11 16:11:10 -05:00
LittleTealeaf
1b8156791e
Merge branch '75_Roulette_Java' of https://github.com/LittleTealeaf/basic-computer-games into 75_Roulette_Java
2022-01-11 16:05:20 -05:00
LittleTealeaf
5c3a7e67fa
Reverting previous commit
2022-01-11 16:05:16 -05:00
LittleTealeaf
1317d9ee16
Player balance is now deducted on bets
2022-01-11 16:04:44 -05:00
LittleTealeaf
ea16d14a9d
Implemented more Roulette.py
2022-01-11 16:01:38 -05:00
Thomas Kwashnak
5dff785129
Fixed numerical typo
2022-01-11 15:56:31 -05:00
Thomas Kwashnak
614e4740a9
Added check
2022-01-11 15:26:53 -05:00
Thomas Kwashnak
74a3cb72ac
Started Roulette in Python
2022-01-11 15:09:03 -05:00
Thomas Kwashnak
f43e31fb83
Re-Formatted Code
2022-01-11 14:15:37 -05:00
Thomas Kwashnak
2885acd951
Match Formatting to Original Program
2022-01-11 14:10:42 -05:00
Thomas Kwashnak
f7f10d52f3
Formatted "Totals" output
...
Slowly going through and making output true to the original BASIC code
2022-01-10 15:18:46 -05:00
Thomas Kwashnak
2dc63bb95a
Still unsure about $$
...
Is the check for the difference? Is it only when the house cannot pay what it owes?
2022-01-10 11:41:02 -05:00
Thomas Kwashnak
0d7f407197
Create roulette.py
2022-01-10 11:31:04 -05:00
Thomas Kwashnak
a40c2fc534
Added replay and ending
...
I think...
2022-01-10 11:29:50 -05:00
Thomas Kwashnak
c32798aa75
Added bet checking conditions
2022-01-10 11:14:10 -05:00
Thomas Kwashnak
b97f4f5e3e
Added querying of bets and randomized roll
2022-01-10 10:44:49 -05:00