Added initial game logic

This commit is contained in:
2025-12-12 00:05:37 +00:00
parent af41990807
commit 7686aff546
7 changed files with 114 additions and 22 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export const useGameStore = defineStore('game', () => {
// Initialize deck
const initializeDeck = () => {
const suits = ['', '', '', '']
const suits = ['H', 'D', 'C', 'S']
const ranks = ['2', '3', '4', '5', '6', '7', 'J', 'Q', 'K', 'A']
const values = { '2': 0, '3': 0, '4': 0, '5': 0, '6': 0, '7': 0, 'J': 2, 'Q': 3, 'K': 4, 'A': 11 }