Add Unity port of AI for Oceans#409
Open
MohammadHamidi wants to merge 1 commit intocode-dot-org:mainfrom
Open
Conversation
Complete migration of the JavaScript/React web app to Unity engine: Core Systems: - GameManager singleton for state management - SceneController for mode/scene transitions - Event-driven architecture for UI updates Classification System: - NaiveKNNClassifier replacing TensorFlow KNN - NaiveSVMClassifier for word modes - Simple attribute-based classification (no ML dependencies) Fish Generation: - Procedural fish generation with 19 bodies, 18 eyes, 15 mouths - Color tinting system for sprite components - FishRenderer for sprite assembly Animation: - FishAnimator with bobbing (sine wave) motion - S-curve easing for scanning pauses - Smooth scene transitions UI Components: - TrainingUI with Yes/No buttons - PredictionUI with colored confidence frames - PondUI for results visualization - WordSelectionUI for short/long modes - GuideUI with typing text effect - MainMenuUI for mode selection - ConfirmationDialog component - AIBot with expression states Audio: - SoundManager with category-based playback - Support for yes/no/sort sounds All 5 game modes supported: - Fish vs Trash - Creatures vs Trash Demo - Creatures vs Trash - Short (6 adjectives) - Long (15 adjectives) Assets copied from original project to Unity sprite/audio folders.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete migration of the JavaScript/React web app to Unity engine:
Core Systems:
Classification System:
Fish Generation:
Animation:
UI Components:
Audio:
All 5 game modes supported:
Assets copied from original project to Unity sprite/audio folders.