Skip to content

Commit

Permalink
AI Bot feature + other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslongfell committed Dec 13, 2024
1 parent c17069c commit 29b9746
Show file tree
Hide file tree
Showing 19 changed files with 3,829 additions and 298 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.2] - 2024-12-11

### Added
- An AI Bot that plays as Circle, with an adjustable difficulty slider
- Version number, along with a changelog

### Fixed
- When you tie a board, it no longer breaks the game when you try and play on the tied board
- When you tie the entire game, there is now a tie-breaker that chooses the player with the most board wins. If you are tied on wins, it is a true tie

## [0.1.1] - 2024-12-11

### Added
- Favicon for web browsers
- GitHub Actions automatic deployment to GitHub Pages
- Playable on GitHub Pages

### Fixed
- Misalignment with the score text and icons at the bottom
- The Circle icon for the Player indicator no longer shifts the page

## [0.1.0] - 2024-12-11

### Added
- The game exists.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ Super Tic-Tac-Toe is a game. The game is designed to be played with a friend on

- thomaslongfell
- Code.

## Libraries/Dependencies
Thank you for these amazing free resources. I love you all.

- [shadcn/ui](https://ui.shadcn.com/)
- [lucide](https://lucide.dev/)
- [tailwindcss](https://tailwindcss.com/)
- [Motion (framer-motion)](https://motion.dev/)
21 changes: 21 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
15 changes: 15 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<!doctype html>
<html lang="en">
<head>
<style>
#version {
position: fixed;
bottom: 10px;
right: 10px;
color: rgba(0, 0, 0, 0.5);
font-size: 14px;
pointer-events: none;
user-select: none;
z-index: 9001;
}
</style>

<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/sttt.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand All @@ -10,5 +23,7 @@
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>

<div id="version">v0.1.2</div>
</body>
</html>
Loading

0 comments on commit 29b9746

Please sign in to comment.