Commit Graph

69 Commits (master)

Author SHA1 Message Date
justcool393 9be721dcf4 send xhr header so errors don't give back HTML pages 2022-11-11 23:46:21 -06:00
justcool393 1bf3d3abc3 fix prev commit 2022-11-01 16:35:24 -05:00
justcool393 15460fb6e7 twentyone: set xhr header so we get errors back as JSON 2022-11-01 16:34:19 -05:00
justcool393 0dd956ae0e twentyone: show ratelimit error when ratelimited 2022-11-01 16:23:51 -05:00
Aevann1 5719688178 use tabs, not spaces 2022-10-29 01:39:31 +02:00
Aevann1 fdd608532b add type="button" to all <button> tags 2022-10-29 01:35:14 +02:00
Aevann1 c2a5231ab5 remove trailing slashes in html files (I dont like them) 2022-10-10 07:40:33 +02:00
Snakes f05ec93b95
Add gambling wager badge logic.
This commit touches more files than it ought to because this change
required untangling some circular imports, notably a lingering import
of files.helpers.slots in helpers.actions (presumably from old Snappy
gambling logic) and the User.active_blackjack_game accessor. Otherwise,
the logic is fairly straightforward.
2022-09-29 00:26:50 -04:00
Aevann1 c13a1524fa dramacoin -> coin 2022-09-13 22:46:08 +02:00
Aevann1 1f79a563bf dramacoins -> coins 2022-09-13 22:13:58 +02:00
Outrun Colors fec1ba8438
Use correct number and not index for color 2022-09-12 22:29:19 -05:00
Outrun Colors 947d097087
Make poker chips a circle 2022-09-12 21:04:32 -05:00
outruncolors 7d8cfe5576
Add Roulette (#351)
* Add roulette file

* Rename variable to avoid name collission

* Add basic route and create new template for game

* More work on the roulette template

* Initial connection of front-end roulette to back-end roulette

* Add to cron job

* Pass bets to the front end

* Update front-end looks

* Add stackable poker chips for bets

* Minor last changes

* Handle minimum bets

* Add bet table
2022-09-12 20:07:39 -05:00
Aevann1 691857b805 cosmetic change 2022-09-11 11:59:39 +02:00
Aevann1 0e299656b2 cosmetic change 2022-09-11 11:49:19 +02:00
Aevann1 99f6d8d468 cosmetic change 2022-09-11 11:48:35 +02:00
Aevann1 00ad36a98b cosmetic change 2022-09-11 11:46:37 +02:00
Aevann1 b0fd3dc5b6 cosmetic change 2022-09-11 11:45:25 +02:00
outruncolors d57a569125
[DO NOT MERGE] Casino changes (#350)
* Merge up

* Create composable template for casino games

* Big changerinos

* Only allow double down sometimes

* Add drawing capability

* Make everything pretty

* Add leaderboard

* Update files/routes/casino.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/casino.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Update files/helpers/twentyone.py

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>

* Add some stuff

* Rehab screen

* Default sets for no games

* Stupid revert

Co-authored-by: code-review-doctor[bot] <72320148+code-review-doctor[bot]@users.noreply.github.com>
2022-09-10 16:01:34 -05:00