gpt-3.5-turbo-0301· openai
from WildChat-4.8M
I want create a lite-version of Hearthstone in Javascript. Rules: 1) Each player starts…
- User
I want create a lite-version of Hearthstone in Javascript. Rules:
- Each player starts the game with 30 Health and 0 Mana slots.
- Each player starts with a deck of 20 Damage cards with the following Mana costs: 0,0,1,1,2,2,2,3,3,3,3,4,4,4,5,5,6,6,7,8
- From the deck each player receives 3 random cards has his initial hand.
- One player is randomly chosen to be the starting active player. The other player draws a 4th card from his deck to compensate him for not playing the first turn.
- Assistant
- The active player begins their turn and can perform the following actions: a) Play a card from their hand if they have enough Mana slots. b) Use their Hero power if it costs 2 Mana slots or less. c) Attack the opponent's Hero or a minion with their own minions. d) End their turn, which refills their Mana slots and draws a card from their deck.
- If a player's Health reaches 0, they lose the game.
- The game ends when one player loses all of their Health.