Skip to content

Releases: Foocett/CardsForHumanity

1.2.3

Choose a tag to compare

@Foocett Foocett released this 08 May 00:38

Cards For Humanity V1.2.3

Hotfix

  • Resolved Issue #14 by @Hello9001
    The animated card introduced in v1.2.2 didn't work because I'm a little stupid

Other Changes

  • Added shake animation on click for non-selectable cards
  • Added community-suggested cards

Full Changelog: v1.2.2...1.2.3

v1.2.2

Choose a tag to compare

@Foocett Foocett released this 06 May 15:01

Cards For Humanity V1.2.2

HOTFIX

  • Turns out the pack selection introduced in 1.2.0 just didn't work, like at all, and I was completely unaware because I'm a little stupid
    • Due to an incorrectly placed 'i++' packs were determined by the number of checked boxes which ones were checked

Other Changes

  • The brainrot pack now has a 'Subway Surfers' card, the background of which is a gif of Subway Surfers gameplay
  • 'Light' and 'dark' categories removed from theme dropdown, it was a little too ambiguous

Full Changelog: v1.2.1...v1.2.2

v1.2.1

Choose a tag to compare

@Foocett Foocett released this 03 May 23:24

V1.2.1

Visual Changes

  • Added effect on text box select
  • Added effect on checkboxes
  • Other minor visual bugfixes

Other Changes

  • Chat can be focused with "/"
  • Added duplicate username validation
  • Update festivalPack.json by @FrenchieGITHUB in #12

Bugfixes

  • Possible fix to server crashing when players leave idk I still cant consistently recreate the bug
  • I think I finally fixed the server crashing issue when players leave oh my god

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@Foocett Foocett released this 01 May 05:19
24e4daa

Full Changelog: v1.1.0...v1.2.0

v1.2.0

Overview

  • Added keybinds
  • Major and minor bugfixes
  • Complete visual overhaul
  • Added themes
  • Added theme cookie
  • More stuff added to readme
  • Complete change in how cards are handled
  • Card packs now have a pack name property
  • Clicking on a selected card now deselects it

Keybinds

  • Rewrote admin menu closing keybind to remove deprecated code
  • Pack selection form can now be submitted with enter key
  • Pack selection can now be done with number buttons instead of clicking boxes
  • Card and form submission can now be done with the enter button and space button

Bugfixes

  • Fixed bug where pack selection submitting was not activating/deactivating properly
  • Fixed bug where game breaks if all players leave
    • Problem arose as server tried to set player.czar property on nonexistent player object
    • As solution, game now resets (server runs Admin.nuke()) when no players are present in game
  • Fixed bug where wager could be set to a negative value
  • Fixed bug where wager could be changed after card was submitted
  • Fixed bug to that wager value is reset on card submission
  • Fixed bug where Admin.setScore() set player score to a string value
  • Fixed bug where submit button wasn't deactivating properly
  • Fixed "bug" (my stupidity) where wager values were reset prematurely
  • Fixed a bug where cards would be submitted with enter key while chat box was focused
  • Fixed a bug where cards would wrap when a winner is chosen
  • Fixed a bug where submit button would be disabled when other players submit cards

Visual Changes

  • Added top border to page footer
  • Changed card submission container to scroll on overflow
  • Changed player/score container to scroll on overflow
  • Complete color overhaul, background is now based on a single gradient on the body object
  • Changed player score objects to take on a transparent color instead of hard coded grey
  • Added button design, will be changing color soon dw (update I did)
  • Changed pack and admin overlays to rely on same color as body gradient
  • Moved bug report button to footer
  • Made the buttons not ugly
  • Added theme functionality
  • Pack buttons now layout differently in game staring overlay

Themes

  • Added Default Dark
  • Added Light Default
  • Added Sunset
  • Added Peach
  • Added Cold Steel
  • Added Grape
  • Added Cotton Candy
  • Added Charcoal
  • Added Clear Skies
  • Added Seafoam
  • Added Rosé
  • Added Blue Whale

Other

  • Refactored pack button and admin button names
  • Added a cookie to store the last selected theme

Known Issues

  • Despite major bugfixes in the last two updates mostly resolving the problem, the server does still occasionally crash when the last player disconnects
  • Players joining after game starts are not properly dealt in and are stuck on waiting screen
  • Czar can be changed when new player joins

Likely coming in next few update(s)

  • I will attempt to create a queue for players joining mid-game, storing on server and pushing info to clients only at the start of a round
    • Note for myself, make sure to check queue size when players leave so new turn starts instead of game restarting if there aren't enough players
  • Not likely soon but I might add a lobby system at some point

v1.1.0

Choose a tag to compare

@Foocett Foocett released this 19 Apr 23:27

v1.1.0

Overview

  • Added admin window
  • Added Admin Commands
  • Major bugfixes with player handling
  • Changed username requirements
  • Added cards as usual (this will never not be here lol)
  • Revamped README.md a lil bit, I think it looks a lot better now

Admin Window

  • Added the admin window and password protection, found in config.json
  • The admin window is literally just a clone of the pack selection window but yeah

Admin Commands

Nuke Game

  • This command effectively restarts the server, reverting all global variables back to their initial state and force-reloading all players
  • Inputs:
    • None

Set Score

  • This command allows a specified player's score to be manually set
  • Inputs:
    • Player Name : String
    • Score Value : Number

Kick Player

  • This command allows a specified player to be kicked and banned from the lobby until the game is reloaded (see Nuke Game)
  • Inputs:
    • Player Name : String

Force Next Turn

  • This command automatically begins the submission phase of the next round, useful for players disconnecting mid-round
  • Inputs:
    • None

Dump Hand

  • This command allows a specified player's hand to be completely refreshed
  • Inputs:
    • Player : String

Warn Player

  • This command sends a browser alert to all specified players
  • Inputs:
    • Players : String (comma separated)
      • "PlayerFoo, PlayerBar"
      • (note the space after the comma, that's important)
    • Message : String

Warn Lobby

  • This command Functions exactly the same as warn player, however the message is sent to the whole lobby
  • Inputs:
    • Message : String

Other Bugfixes

  • Fixed bug where players leaving causes server crash (idk how it took me this long to fix, it was one line)
  • Fixed a bug that arose while implementing admin features where game does not correctly track player counts
  • Made it so that socket.on("disconnect") is only active when socket.id has been initialized as a player object before
  • Fixed a bug so that admin role can be reassigned if player count reaches zero

v1.0.0

Choose a tag to compare

@Foocett Foocett released this 18 Apr 21:50
93958d4

Full Changelog: Pre-Releases...V1.0.0

After adding a few minor things, I feel like I'm ready to push a true release. This game is still definitely far from perfect, but I think it's functional enough.
To be honest, I didn't do most of the things I planned on doing before this, but I will definitely end up doing them at some point.

More Plans

  • Add admin/debug menu
  • Add more animations
  • Themes
  • More...

What's Changed

  • Added a decent number of cards
  • Added a wagering system
  • Added navbar buttons
  • Slight visual changes

Full Changelog: https://github.com/Foocett/CardsForHumanity/commits/v1.0.0

v0.1.0-alpha

v0.1.0-alpha Pre-release
Pre-release

Choose a tag to compare

@Foocett Foocett released this 11 Apr 04:24
4cd701a

Pre-Release 1 (v0.1.0-alpha)

This is the first functional version of the game with all of the base features I want
I have plenty more ideas for this game, but this version encompasses the very bare bones of what I'm envisioning.
This is by far the most complex project I've ever taken on and I can't believe I've gotten it to this point

Plans For First Full Release

  • Add wagering system
  • Add admin/debug menu
  • Add more animations
  • Themes
  • More...

What's Changed

  • added cards to autismPack.json by @FrenchieGitHubAccount in #1

New Contributors

  • @FrenchieGitHubAccount made their first contribution in #1

Full Changelog: https://github.com/Foocett/CardsForHumanity/commits/Pre-Releases