Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MainKronos committed Apr 20, 2024
0 parents commit 0f590f0
Show file tree
Hide file tree
Showing 42 changed files with 2,924 additions and 0 deletions.
141 changes: 141 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@

# Created by https://www.gitignore.io/api/osx,node
# Edit at https://www.gitignore.io/?templates=osx,node

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# next.js build output
.next

# nuxt.js build output
.nuxt

# rollup.js default build output
dist/

# Uncomment the public line if your project uses Gatsby
# https://nextjs.org/blog/next-9-1#public-directory-support
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
# public

# Storybook build outputs
.out
.storybook-out

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Temporary folders
tmp/
temp/

### OSX ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# End of https://www.gitignore.io/api/osx,node
game.json
bun.exe
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# War Vessels
![battleship](https://user-images.githubusercontent.com/44678221/80529896-d5f65d00-89b5-11ea-8b66-5956452ed373.gif)
Battleship™ clone recreated using Node.js Socket.io and vanilla JS.
Game hosted on Heroku.
[Link to game](https://war-vessels.herokuapp.com/)

*Game renamed due to Battleship being trademarked.

## Ships
Original ship art by [Lowder2](https://opengameart.org/content/sea-warfare-set-ships-and-more). Ships were slightly modified and vectorized.

## Water animation
Resources I found useful when animating water
1. [(Original) Java Water Simulation by Neil Wallis](http://www.neilwallis.com/projects/java/water/index.php)
2. [JavaScript implementation of the "classic" water ripple demo](https://js1k.com/2010-first/details/131)
3. [Water ripple FX with Canvas and Javascript by Almeros](https://code.almeros.com/water-ripple-canvas-and-javascript/)
4. [2D water ripple by The Coding Train](https://www.youtube.com/watch?v=BZUdGqeOD0w)

## Acknowledgements
I want to thank [Juha Lindstedt](https://github.com/pakastin) and [Mrwan Ashraf](https://github.com/mrwanashraf) for supporting me through this project.


## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2020-present [Manas Sarpatwar](https://github.com/manassarpatwar)
Binary file added bun.lockb
Binary file not shown.
Loading

0 comments on commit 0f590f0

Please sign in to comment.