Commit Graph

58 Commits (8c809a558053696231f9256ba2a6b101d191daba)

Author SHA1 Message Date
89wc 8c809a5580 testing git cmds
<89 for personal tracking, because idk what is a version control lul
2023-09-26 23:54:39 +00:00
top 24eafc85d8 Adds some bug fixes QoL changes to the blackjack game. (#203)
Updates the wager text to show the wager for both hands instead of the original wager since splitting doubles the bet.

Adds the ability to split face cards/ten which is allowed in the rules most casinos (it's also universally terrible so idk why anyone would actually split 10s).

Adds the ability to double down on 9 as requested by annoyingthegoyim, probably increases EV a very small amount but not really noticeable since 9 is a pretty rare opening hand (and worse than double down on 10 or 11).

Moves the split button to after hit/stay since some users complained about splitting by accident due to button placement

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#203
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-09-21 13:31:02 +00:00
Aevann f0a5349519 Revert "Revert "Adds blackjack split (#197)""
This reverts commit 9daa939cae.
2023-09-18 19:31:58 +03:00
Aevann 9daa939cae Revert "Adds blackjack split (#197)"
This reverts commit 30d10f638e.
2023-09-15 14:30:08 +03:00
Aevann c4dcb3e312 remove unnecessary ; 2023-09-15 14:28:43 +03:00
top 30d10f638e Adds blackjack split (#197)
Holy shit this was a massive pain, done now though lol.

I recommend additional testing, I mean I did test this a ton locally but I also spent 3 hours fixing bugs and maybe missed something

Co-authored-by: Chuck <dude@bussy.com>
Reviewed-on: rDrama/rDrama#197
Co-authored-by: top <top@noreply.fsdfsd.net>
Co-committed-by: top <top@noreply.fsdfsd.net>
2023-09-15 11:27:00 +00:00
Aevann 988a14f187 use SITE_FULL_IMAGES whenever u possibly can 2023-07-22 19:24:16 +03:00
Aevann eeb975b177 cachebust everything 2023-06-29 23:14:30 +03:00
Aevann c86f4185e6 replace iphone's apostrophe 2023-04-27 16:48:41 +02:00
Aevann 93422e2be9 cache-bust all 2023-04-25 18:24:12 +02:00
Aevann d096e3eaf6 show user coins and mbux in casino 2023-03-24 19:13:50 +02:00
Aevann a5d7cc63ed cachebust all assets 2023-03-21 15:58:14 +02:00
Aevann df1ebf7cad use SITE_FULL_IMAGES in more places 2023-03-19 18:30:22 +02:00
Aevann 5afc1d0ba1 minor cosmetic change to game_screen.html 2023-03-01 22:03:33 +02:00
Aevann 54cb5dc360 minor cosmetic fix 2023-02-01 22:49:23 +02:00
Aevann ad82adccda dont use data-bs-original-title 2023-01-28 16:56:13 +02:00
Aevann 1e30acc5a8 make all images have loading="lazy" 2023-01-27 19:55:25 +02:00
Aevann 9717646755 remove all role attributes 2023-01-20 09:14:59 +02:00
Aevann 044664a25e get rid of useless tabs and spaces 2023-01-01 13:36:20 +02:00
Aevann 8a1343e739 Revert "remove all accessibility attributes"
This reverts commit e3a8fe85e3.
2023-01-01 13:12:35 +02:00
Aevann e3a8fe85e3 remove all accessibility attributes 2023-01-01 13:05:39 +02:00
Aevann 3bf072079c fix casino 2023-01-01 11:08:55 +02:00
Aevann 01f0f8c59a remove weird html shit 2022-12-30 19:20:10 +02:00
Aevann f0b20cad55 the worst fucking code you'll ever see 2022-12-30 14:14:18 +02:00
Aevann 93e9a42fa3 stop using inline style/script elements 2022-12-29 16:20:27 +02:00
Aevann ed323817f5 fix casino js 2022-12-29 12:58:51 +02:00
Aevann 264ed60cc4 replace "DOMContentLoaded" with "load" 2022-12-27 03:45:30 +02:00
Aevann 6114111654 tighten CSP 2022-12-27 03:22:39 +02:00
Aevann 070a22d02e remove accessiblity shit 2022-12-25 04:10:56 +02:00
justcool393 ab41db22b7 [DO NOT MERGE] multiple sub banners (#59)
allows multiple sub banners

Snakes note: By request of Carp, especially for WPD.

Co-authored-by: justcool393 <justcool393@gmail.com>
Co-authored-by: Snakes <duolsm@outlook.com>
Reviewed-on: rDrama/rDrama#59
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-12-11 23:44:34 +00:00
Aevann1 49263fdd86 Revert "stop using background css property and use its parts instead"
This reverts commit e4e67a4424.
2022-12-04 00:17:35 +02:00
Aevann1 e4e67a4424 stop using background css property and use its parts instead 2022-12-04 00:11:02 +02:00
Snakes c4df942846
Fix roulette '0' bet placement & display. 2022-11-22 21:00:03 -05:00
justcool393 b0ff8916a5
win loss stats to casino games (#475)
* casino: add stats to casino

* casino: stats should target the right thing
casino: properly style

* pluralize properly

* refactor casino leaderboards :marseytroublemarker:

* fsfsdsd

* fsdsdsdsd

* i'm r-slurred

* -
2022-11-22 07:11:01 -08:00
justcool393 272e2ee936
sneed (rename procoins to marseybux) (#472)
* sneed (rename procoins to marseybux)

* literally unusable

Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 18:08:29 -05:00
justcool393 9f51259ee6
[DO NOT MERGE] roulette 0 and 00 bets redux (#470)
* backend support for roulette betting on 0 and 00

* casino: roulette: add 0 and 00 frontend

* add spacer

* roulette: fix the thing

* don't payout where needful not to

* sanity check

* roulette: validate requests properly

* roulette actions from API make more sane
2022-11-21 06:44:16 -08:00
justcool393 153fb4e2a2
[DO NOT MERGE] titlesssssssssss (#468)
* titles

* testing

* self

* Revert "self"

This reverts commit d6c12d5a5ba125feb44673f55e1fdac75f151cb5.

* Revert "testing"

This reverts commit 86d800f9fd552196b31f0e0b3891d4fc072a9bc0.

* testing on devrama

* rewrite the html head

* reference error or smth idk

* tempalte debug

* template debug redux

* default2

* rename default2 -> root, page title

* fix settings2

* include the set_variables block

* root scope variables 2

* test 3

* remove unnecessary set

* add pagetitles to all settings2 pages

* add pagetitle to casino

* remove bloat

* remove duplicate site name thingy

* page titles 2

* page titles 3

* remove duplicate imports and add page titles everywhere iirc

* ok but actually this time

* remove unnecessary newlines

* fix title lol

* >

* fsdfsfsfsfsfs

* fsfs

* template configurations

* fix 500

* reduce login template bloat

* move files and add status codes where needful

* move authfroms to login

* remove 2fa bloat

* verification code

* sign up fixes

* readability

* fssfsfsfs

* move forgot password to login/

* readability

* don't emit comments

* add page titles where needful

* gsgsgs

* modals: move to respective pages

* testing on devrama

* get home garbage out of title

* remove insane amount of icon duplication

* sign up text

* add votes pagetitle

* fix blank lines

* Revert "fix blank lines"

This reverts commit b2c54339970725d00b6fc82bb458c1757909952c.

* Fix blank lines on sign_up.html.

* title: votes.html more meaningful identifier.

* titles: Lottery, Directory, Notifications

* head final in submission.html

* fix missing comma

* >

* test

* title: /comments

* fsfsfsfsf

* titles: user_cards

* head: only load video and audio meta attributes if they actually exist

* titlessssss: /admin/lottery/participants

* titlessssssss: extra quote in search.html

* titlessssss: userpage voters.

* titties: /h/<sub>/{followers,blockers,exilees[sic]}

* test banner

* Revert "test banner"

This reverts commit c3d875d03f3e60d72a60dab7d28bf108554a5826.

* make submit.html inherit from default.html

Co-authored-by: TLSM <duolsm@outlook.com>
2022-11-21 02:52:22 -06:00
justcool393 eafae40aca titles: fix all titles where needful 2022-11-19 16:20:52 -06:00
Aevann1 cf40574b7d remove double spaces 2022-11-12 20:02:02 +02:00
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