Skip to content

Commit 04402fc

Browse files
authored
Merge pull request #15 from NanoForge-dev/feat/game/add-example
Feat/game/add example
2 parents 31a9bdf + 7a1c321 commit 04402fc

File tree

42 files changed

+3514
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3514
-43
lines changed

bun.lock

Lines changed: 1636 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/pong/.gitignore

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
### VisualStudioCode template
2+
.vscode/*
3+
!.vscode/settings.json
4+
!.vscode/tasks.json
5+
!.vscode/launch.json
6+
!.vscode/extensions.json
7+
!.vscode/*.code-snippets
8+
9+
# Local History for Visual Studio Code
10+
.history/
11+
12+
# Built Visual Studio Code Extensions
13+
*.vsix
14+
15+
### JetBrains template
16+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
17+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
18+
19+
# User-specific stuff
20+
.idea/**/workspace.xml
21+
.idea/**/tasks.xml
22+
.idea/**/usage.statistics.xml
23+
.idea/**/dictionaries
24+
.idea/**/shelf
25+
26+
# AWS User-specific
27+
.idea/**/aws.xml
28+
29+
# Generated files
30+
.idea/**/contentModel.xml
31+
32+
# Sensitive or high-churn files
33+
.idea/**/dataSources/
34+
.idea/**/dataSources.ids
35+
.idea/**/dataSources.local.xml
36+
.idea/**/sqlDataSources.xml
37+
.idea/**/dynamic.xml
38+
.idea/**/uiDesigner.xml
39+
.idea/**/dbnavigator.xml
40+
41+
# Gradle
42+
.idea/**/gradle.xml
43+
.idea/**/libraries
44+
45+
# Gradle and Maven with auto-import
46+
# When using Gradle or Maven with auto-import, you should exclude module files,
47+
# since they will be recreated, and may cause churn. Uncomment if using
48+
# auto-import.
49+
# .idea/artifacts
50+
# .idea/compiler.xml
51+
# .idea/jarRepositories.xml
52+
# .idea/modules.xml
53+
# .idea/*.iml
54+
# .idea/modules
55+
# *.iml
56+
# *.ipr
57+
58+
# CMake
59+
cmake-build-*/
60+
61+
# Mongo Explorer plugin
62+
.idea/**/mongoSettings.xml
63+
64+
# File-based project format
65+
*.iws
66+
67+
# IntelliJ
68+
out/
69+
70+
# mpeltonen/sbt-idea plugin
71+
.idea_modules/
72+
73+
# JIRA plugin
74+
atlassian-ide-plugin.xml
75+
76+
# Cursive Clojure plugin
77+
.idea/replstate.xml
78+
79+
# SonarLint plugin
80+
.idea/sonarlint/
81+
82+
# Crashlytics plugin (for Android Studio and IntelliJ)
83+
com_crashlytics_export_strings.xml
84+
crashlytics.properties
85+
crashlytics-build.properties
86+
fabric.properties
87+
88+
# Editor-based Rest Client
89+
.idea/httpRequests
90+
91+
# Android studio 3.1+ serialized cache file
92+
.idea/caches/build_file_checksums.ser
93+
94+
### Node template
95+
# Logs
96+
logs
97+
*.log
98+
npm-debug.log*
99+
yarn-debug.log*
100+
yarn-error.log*
101+
lerna-debug.log*
102+
.pnpm-debug.log*
103+
104+
# Diagnostic reports (https://nodejs.org/api/report.html)
105+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
106+
107+
# Runtime data
108+
pids
109+
*.pid
110+
*.seed
111+
*.pid.lock
112+
113+
# Directory for instrumented libs generated by jscoverage/JSCover
114+
lib-cov
115+
116+
# Coverage directory used by tools like istanbul
117+
coverage
118+
*.lcov
119+
120+
# nyc test coverage
121+
.nyc_output
122+
123+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
124+
.grunt
125+
126+
# Bower dependency directory (https://bower.io/)
127+
bower_components
128+
129+
# node-waf configuration
130+
.lock-wscript
131+
132+
# Compiled binary addons (https://nodejs.org/api/addons.html)
133+
build/Release
134+
135+
# Dependency directories
136+
node_modules/
137+
jspm_packages/
138+
139+
# Snowpack dependency directory (https://snowpack.dev/)
140+
web_modules/
141+
142+
# TypeScript cache
143+
*.tsbuildinfo
144+
145+
# Optional npm cache directory
146+
.npm
147+
148+
# Optional eslint cache
149+
.eslintcache
150+
151+
# Optional stylelint cache
152+
.stylelintcache
153+
154+
# Microbundle cache
155+
.rpt2_cache/
156+
.rts2_cache_cjs/
157+
.rts2_cache_es/
158+
.rts2_cache_umd/
159+
160+
# Optional REPL history
161+
.node_repl_history
162+
163+
# Output of 'npm pack'
164+
*.tgz
165+
166+
# Yarn Integrity file
167+
.yarn-integrity
168+
169+
# dotenv environment variable files
170+
.env
171+
.env.development.local
172+
.env.test.local
173+
.env.production.local
174+
.env.local
175+
176+
# parcel-bundler cache (https://parceljs.org/)
177+
.cache
178+
.parcel-cache
179+
180+
# Next.js build output
181+
.next
182+
out
183+
184+
# Nuxt.js build / generate output
185+
.nuxt
186+
dist
187+
188+
# Gatsby files
189+
.cache/
190+
# Comment in the public line in if your project uses Gatsby and not Next.js
191+
# https://nextjs.org/blog/next-9-1#public-directory-support
192+
# public
193+
194+
# vuepress build output
195+
.vuepress/dist
196+
197+
# vuepress v2.x temp and cache directory
198+
.temp
199+
.cache
200+
201+
# Docusaurus cache and generated files
202+
.docusaurus
203+
204+
# Serverless directories
205+
.serverless/
206+
207+
# FuseBox cache
208+
.fusebox/
209+
210+
# DynamoDB Local files
211+
.dynamodb/
212+
213+
# TernJS port file
214+
.tern-port
215+
216+
# Stores VSCode versions used for testing VSCode extensions
217+
.vscode-test
218+
219+
# yarn v2
220+
.yarn/cache
221+
.yarn/unplugged
222+
.yarn/build-state.yml
223+
.yarn/install-state.gz
224+
.pnp.*
225+

example/pong/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v23.6.0

example/pong/.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore files for PNPM, NPM and YARN
2+
pnpm-lock.yaml
3+
package-lock.json
4+
yarn.lock
5+
bun.lock

example/pong/.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"plugins": ["@trivago/prettier-plugin-sort-imports"],
3+
"importOrderSeparation": true,
4+
"importOrderSortSpecifiers": true,
5+
"importOrderParserPlugins": ["typescript", "decorators-legacy"],
6+
"importOrder": ["^~/(.*)$", "^[./]"],
7+
"useTabs": false,
8+
"singleQuote": false,
9+
"trailingComma": "all",
10+
"printWidth": 100
11+
}

0 commit comments

Comments
 (0)