You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run the AI-powered 2048 game simulation, simply execute the main script:
20
+
21
+
python3 2048_ai.py
22
+
23
+
The script will automatically start simulating the game using the AI. It will display the game board after each move and provide a summary of the results at the end.
24
+
25
+
---
26
+
13
27
## Included Files
14
28
15
29
-`2048_ai.py` - The main game script with AI implementation
@@ -37,16 +51,6 @@ Optional: if you want to use 'numba' for GPU performance benefits on CUDA, type:
37
51
38
52
---
39
53
40
-
## Main Usage
41
-
42
-
To run the AI-powered 2048 game simulation, simply execute the main script:
43
-
44
-
python3 2048_ai.py
45
-
46
-
The script will automatically start simulating the game using the AI. It will display the game board after each move and provide a summary of the results at the end.
47
-
48
-
---
49
-
50
54
## How It Works
51
55
52
56
The AI utilizes several heuristics and the Expectimax algorithm to make decisions during the game.
0 commit comments