{"id":46099219,"url":"https://github.com/and3rn3t/simulation","last_synced_at":"2026-03-01T19:22:44.042Z","repository":{"id":303492998,"uuid":"1015692954","full_name":"and3rn3t/simulation","owner":"and3rn3t","description":"Just a biological simulator. I've wanted to learn TypeScript and also pal around with GHC, so here we go.","archived":false,"fork":false,"pushed_at":"2025-08-28T08:43:41.000Z","size":18592,"stargazers_count":1,"open_issues_count":45,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-28T15:42:17.407Z","etag":null,"topics":["and3rn3t","andernet","copilot","github","organisms","simulation","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/and3rn3t.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY_MISSION_COMPLETE.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-07T22:38:46.000Z","updated_at":"2025-07-13T19:45:23.000Z","dependencies_parsed_at":"2025-08-28T10:41:50.583Z","dependency_job_id":null,"html_url":"https://github.com/and3rn3t/simulation","commit_stats":null,"previous_names":["and3rn3t/simulation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/and3rn3t/simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rn3t%2Fsimulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rn3t%2Fsimulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rn3t%2Fsimulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rn3t%2Fsimulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/and3rn3t","download_url":"https://codeload.github.com/and3rn3t/simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/and3rn3t%2Fsimulation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29981395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["and3rn3t","andernet","copilot","github","organisms","simulation","typescript"],"created_at":"2026-03-01T19:22:43.324Z","updated_at":"2026-03-01T19:22:44.032Z","avatar_url":"https://github.com/and3rn3t.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Copilot Configuration for Simulation Project\n\nThis directory contains GitHub Copilot-specific configuration files to enhance the development experience.\n\n## Files Overview\n\n### 📋 Core Instructions\n\n- **`copilot-instructions.md`** - Main Copilot instructions with project patterns, error handling, and best practices\n- **`COPILOT_CHAT_PARTICIPANTS.md`** - Guide for using Copilot Chat effectively with workspace commands\n- **`COPILOT_SNIPPETS.md`** - Code templates and common snippets for rapid development\n- **`DEVELOPMENT_WORKFLOW.md`** - Step-by-step workflow guide for feature development\n\n## Quick Start for Copilot\n\n### Essential Commands\n\n```powershell\n# Start development\nnpm run dev\n\n# Run tests\nnpm run test\n\n# Quality check\nnpm run quality:check\n```\n\n### Most Useful Copilot Chat Commands\n\n- `@workspace /explain` - Understand project structure\n- `@workspace How do I add a new organism type?`\n- `@workspace Show me error handling patterns`\n- `@workspace Help with canvas operations`\n\n### Key Project Patterns\n\n1. **Error Handling**: Always use `ErrorHandler.getInstance().handleError()`\n2. **Canvas Operations**: Check context validity before drawing\n3. **Memory Management**: Use object pooling for organisms\n4. **Testing**: Mock canvas context and DOM elements\n5. **TypeScript**: Use interfaces from `src/models/`\n\n## VS Code Settings\n\nThe `.vscode/settings.json` file is optimized for:\n\n- Enhanced Copilot integration\n- TypeScript development\n- Canvas debugging\n- Testing with Vitest\n- Better project navigation\n\n## Development Tips\n\n### Getting Better Suggestions\n\n1. Use descriptive variable names\n2. Include JSDoc comments for complex functions\n3. Keep files focused on single responsibilities\n4. Use TypeScript interfaces consistently\n\n### Common Patterns Copilot Knows\n\n- Organism creation with object pooling\n- Canvas drawing with error handling\n- Test setup with proper mocking\n- Performance optimization patterns\n- Memory management best practices\n\n### File Naming Conventions\n\n- Components: `ComponentName.ts`\n- Tests: `ComponentName.test.ts`\n- Types: `types.ts` or `interfaces.ts`\n- Utils: `utilityName.ts`\n\n## Troubleshooting Copilot\n\n### If Suggestions Are Poor\n\n1. Check if you're following project patterns\n2. Add more context in comments\n3. Use type annotations\n4. Reference existing similar code\n\n### For Better Canvas Suggestions\n\n1. Include canvas context checks\n2. Use error handling patterns\n3. Reference existing drawing methods\n4. Include touch event handling\n\n### For Performance Code\n\n1. Mention object pooling needs\n2. Reference memory management\n3. Include performance monitoring\n4. Consider batch processing\n\n## Project-Specific Context\n\n### This is a Canvas-Based Simulation\n\n- Organism simulation with growth/death mechanics\n- Real-time rendering and interaction\n- Performance-critical with large populations\n- Cross-platform (desktop + mobile)\n\n### Key Technologies\n\n- **TypeScript** for type safety\n- **HTML5 Canvas** for rendering\n- **Vite** for building\n- **Vitest** for testing\n- **Playwright** for E2E testing\n\n### Architecture Highlights\n\n- Object pooling for memory efficiency\n- Spatial partitioning for performance\n- Error handling with graceful degradation\n- Modular component structure\n\n## Contributing\n\nWhen modifying these Copilot configuration files:\n\n1. Test changes with actual Copilot usage\n2. Update patterns based on new project features\n3. Keep examples current with codebase\n4. Maintain consistency across files\n\n## Resources\n\n- [Copilot Documentation](https://docs.github.com/en/copilot)\n- [VS Code Copilot](https://code.visualstudio.com/docs/editor/github-copilot)\n- [Project Documentation](../docs/README.md)\n- [Developer Guide](../docs/DEVELOPER_GUIDE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fand3rn3t%2Fsimulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fand3rn3t%2Fsimulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fand3rn3t%2Fsimulation/lists"}