Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4620318
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:32:39+00:00 2026-05-22T02:32:39+00:00

A long time ago (Netscape 4-era), I wrote Javascript-based games: Pong, Minesweeper, and John

  • 0

A long time ago (Netscape 4-era), I wrote Javascript-based games: Pong, Minesweeper, and John Conway’s Life among them. I’m getting back into it, and want to get my hands even dirtier.

I have a few games in mind:

  • Axis & Allies clone, with rugged maps and complex rules.
  • Tetris clone, possibly with real-time player-vs-player or player-vs-computer mode
  • Breakout clone, with a couple weapons and particle velocities

In all of these, I have only a few objectives:

  • Use JavaScript and HTML 5 – it should run on Chrome, Safari, or maybe an iPad.
  • Start small and simple, then build-up features.
  • Learn something new about game design and implementation.

So my questions are:

  1. How would you implement these games?
  2. Do you have any technology recommendations?
  3. If you’ve written these games, what was the hardest part?

N.B.
I also want to start from first-principles – if you recommend a framework/library, I would appreciate some theory or implementation details behind it. These games are different enough that I should learn something new from each one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:32:40+00:00Added an answer on May 22, 2026 at 2:32 am

    Depends how much you want to start from scratch. To answer your direct questions:

    1) How would you implement these games?

    A: JavaScript + Canvas. Canvas is the 2D drawing surface from HTML5. Performance is pretty good on desktop machines, not so great on iOS and Android devices (as of the date of this post). If mobile is your utmost concern, you need to use the DOM and CSS3 3D transforms which trigger the GPU on those devices.

    2) Do you have any technology recommendations?

    A: This is sort of answered by the first question. JavaScript is a must, but I would ignore jQuery. You are targeting HTML5 devices, so no need to compensate for legacy browsers. As you are probably using Canvas, no need to smooth over the DOM interaction, either. There are some higher level libraries which make interacting with Canvas easier, such as Easel.js. WebSockets are useful for bi-directional streaming communication. And Box2D is useful for a physics engine. Local Storage is simple key/value string data for things like level progress, but for anything complex, you’ll want WebSQL DB. For large binary assets you’ll want to look at the File System API. Finally, don’t be afraid of WebGL, as it is extremely fast and useful for 2D games.

    3) What is the hardest part?

    A: Almost certainly the hardest part is the debugging. WebKit’s Developer Tools can make this easier, so don’t leave home without them.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A long time ago I took over maintenance of a web based content management
A long time ago I wrote a little FTP utility for a client, and
I was tidying up some code I wrote a long time ago, putting it
I was revisting some code I wrote a long time ago, and decided to
long time ago I wrote webservice that is still in use. Now I plan
A long time ago, I saw someone encapsulate their entire JavaScript block with code
Long time ago, the Game Developer magazine published an article about ID Software and
A long time ago I had an apple ][ . I remember the command
A long time ago when I was a young lat I used to do
A long time ago I saw this trick in Ruby. Instead of doing (for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.