Skip to content
/ tpp Public

T++ is a HTML5 canvas game. Clone of Battle City

License

Notifications You must be signed in to change notification settings

schibir/tpp

Repository files navigation

T++

Is a HTML5 canvas game. Clone of Battle City. All sprites and textures are generated.

Play it here https://schibir.github.io/tpp/

Screenshot

Controls

  • 1st player - arrow keys for move and space for shoot.
  • 2nd player - WASD for move and Q for shoot
  • P - pause
  • R - save replay to the clipboard

Replay

On Pause, Game Over or Level Complete screens, you can save a replay to the clipboard by pressing a key R. For example: https://schibir.github.io/tpp/game/?mode=replay&base64=v8A3*OtGOqe1kysDHej0so-rqR*wdzYwtYwg-wO31Bkkk3IFlPvpf*e5*--y55A-qdeRWy-wE-uA-w9x-qOPMAO*wEPYwt9-eHCqO3bUXUR6FYqZwc-rV9yo9rUGxiA7jbXYqJed0ro*iV-rG0rUE-e19dMbU5hqNbUVYq*bUz6ij8iUGOH51lX*wVn-qoO5YUpNv*wdx*Q8iV5sj9ijlIO-qnoTa0rVgQJW7iVBtkF6g4*rolYwVC*7R-wqzm3hUB79rGER-qXvfr0yj*-bxqLJ-w1jSXCEZ*ro8Yql4-q*djdjx*rVpnakMJNOz6hqC2-qtgrtou*rUjdr-hUeJAYw7UXB*QDzodEa*rnooozBBHBEOG15hUDPYwnuWjOJAeuS5x6dgu*y5MUq6hUuekrDVfsP3OelYDlKyFrkS-q1hXn3*roZawNno5hqAwPr1-qx*yns5bq1qXIHrDF-qj94TEg-rVooNVptxjOKsWz6hqDUYwA-tq8FUOYw1-yU9bqH-q1D*rjqu-hUAKuyyySyyyyy0-qn-y5e9CUIuiDuD-wG1bTn*r56Okkpw3JwfPIw8Qkpmmkkwkpwkm6bqLSAtSAtxauuyuAA-wnu-vxxnlllJxx*rodl9bUOiDtAStSsuSyyuDtD-qJvxlxxlx*rUtmwQpC8hUHtDAYwtlQnvvxgcvxvxNvxGl*rUWpapHt6hqEFYwTP03RFoOoQtMGW3fFXW4rFBdM3RiPtMDpbNRQNdNPm3PoFR4PENy4muFoa1uuq

https://schibir.github.io/tpp/game/?mode=replay&base64=jLhR5pytkMetfuKJgeU0sVyO9Yqoko-rqI0iV0Bx1Yqjt---iVUAvr1YqWlIi-w1WPnnduyD9iVtMf7Yql-wt0bUpOAB-qMYogk0s-wqJm9iVeMCqWsgTnpPt-wt4IVjZ-sj7BYqAQiIjnu-r9xk2USA0Qo2E0n9iUMYqp9d-wdl9iUUBYqapun-wqm0oRm9iqp1oArer*YqZ1cgCivugybu-w9g69iV1YqhiutsoJpOeUS*hjgl1-qiluxWt-wjV5GEq29zUNdbBhwpTmsiij-wVLO0A0sU7YwYmwx-wxqIxxmUUnj9ijMYqwu-wx0iUIAy1Yqwj-eERjEHAoA919yHKjGtmESKaSQ9iVcouO4YqPsgal-wAv9iqS5ktS67--dv0sigGcFj-w9ftxB39iVVJMSpAwNBYqe-woIUAGBjAx1-U9iUrNz156aWBvq2YqIRtu7tg-wGheckq24UEQHlLYqjSQHvJ2QZvK2lZvMYq22lHvK24q6aHlK-qqxQSjKCqx2l-rUCPB*YUSaSxJ1hqmW0rnKxLt9hqWHxs2lHvJSlHxd2lHna4ABvaDJ0roDQp2QZxKSQSvJSaBlLYqL0bU07dmGx-iVUfmH--KmFZvp2lH*eAVJSeJxa2N0Va2bUPl0iUGxHcl0rnBxH2CUJQHvpysZlJSlHvKCqZYqmSlZ*--ro9romW-qDdy8sVuCxHc7ijlBx7AQHlHCqMxlS*rovaysHx-qA-rQQv8iVdZlJCqp8lZlJyl0pq0rV9yUFvaalIDnXBgQ4Zfz3HWEC8oLBXBEX0o38VBgLWdWuB0nPXr4mhgMdsGSw

Setup

$ npm install
$ npm run build
$ npm run start
http://localhost:8000