Tic Tac Toe 3D¶
3D board with animated X and O pieces.
📄 Docs onlyTags: game 3d mesh animation game-state
A 3x3 board rendered with 3D meshes. X pieces are crossed cylinders; O pieces are scaled spheres. Pieces animate in with a scale-up bounce while a camera slowly orbits. Grid lines, highlights, and the winning line are all 3D meshes.
This main.py is a thin entry that imports the standalone game scene from
the sibling game.py so the existing menu.py and demo.py modules
continue to resolve from game import ….
Source¶
1"""Tic Tac Toe 3D: 3D board with animated X and O pieces.
2
3# /// simvx
4# tags = ["game", "3d", "mesh", "animation", "game-state"]
5# web = { disabled = true, reason = "Menu shell not yet portable to web." }
6# ///
7
8A 3x3 board rendered with 3D meshes. X pieces are crossed cylinders; O
9pieces are scaled spheres. Pieces animate in with a scale-up bounce while
10a camera slowly orbits. Grid lines, highlights, and the winning line are
11all 3D meshes.
12
13This `main.py` is a thin entry that imports the standalone game scene from
14the sibling `game.py` so the existing `menu.py` and `demo.py` modules
15continue to resolve `from game import …`.
16"""
17
18from game import TicTacToe3DStandalone # noqa: F401
19
20from simvx.graphics import App
21
22
23def main() -> None:
24 App(title="3D Tic Tac Toe", width=1280, height=720).run(TicTacToe3DStandalone())
25
26
27if __name__ == "__main__":
28 main()