How jotalexvalencia/dogcatoe works
Dogcatoe is a small React Native cat-versus-dog tic-tac-toe game. A player taps a square; the app updates the board and turn, checks for a win or draw, and shows the outcome. The single App component owns gameplay, sound playback, and feedback, while Icons renders each square’s mark. The README describes only a generic React Native starter workflow, so no additional product capabilities are documented. Native bootstrap details are sampled, but the JavaScript entry-to-native launch wiring is not fully evidenced.
Main entry points: App.tsx Game screen and state · MainActivity.kt Android host · Icons.tsx Mark icons · index.js JS registration
Components 8
Game UI and rules
- Game screen and state
src/App.tsx - Mark icons
src/components/Icons.tsx - Snackbar feedback
- Sound playback
Platform runtime
- JS registration
index.js - Android host
android/app/src/main/java/com/dogcatoe/MainActivity.kt - Android runtime
android/app/src/main/java/com/dogcatoe/MainApplication.kt
Other components
- Player
Connections 5
- Player → Game screen and state: taps board
src/App.tsx - Game screen and state → Mark icons: renders marks
src/App.tsx - Game screen and state → Snackbar feedback: shows messages
src/App.tsx - Game screen and state → Sound playback: plays sounds
src/App.tsx - Android host → JS registration: loads JS entry