Coder Social home page Coder Social logo

marksman's Introduction

Welcome to the Marksman wiki!

Background and Overview

As a kid I always old school 2D shooters. The physics were always fun to play with, and I loved experience of getting better and better as the game gave me more information every shot. Marksman is a spinoff of these retro games, allowing for user input to fire a cannon at targets flying across the map. The game also has adjustable difficulty levels, multiplayer, and sound effects

Functionality and MVPs

In Marksman, users can:

  • Interactively shoot at targets on the canvas
  • Provide input to modify the game experience (difficulty)
  • Scale play to allow for single player or multiplayer

image info

In addition, this project includes:

  • How to play descriptions
  • Audio accompanying the gameplay
  • Links to external Github and Linkedin pages

Display

image info

Architecture and Technology

The gameplay utilizing the HTML canvas element. All user inputs are taken into account via event listeners on the keyboard and cause the created game dynamically adjust. No backend or data is required for this project. No external libraries are utilized.

Code Snippets

Custom Collision Detection

Custom collision detection equations were used to ensure in sync canvas element movement and display for the user. Both canvas elements and canvas bordering needed to be taken into account.

image info

Multiplayer Scalability

Logic was added to the core gameplay file and associated objects to allow for both single player and multiplayer experienced based on a flexible user input.

image info

marksman's People

Contributors

robbal5 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.