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 6652879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:11:49+00:00 2026-05-26T01:11:49+00:00

There was this old game (J2ME) but I cannot find it now in google.

  • 0

There was this old game (J2ME) but I cannot find it now in google.
The name was “Capture”.(Accoring to the comments it’s more like “Jezzball”)
I tried to implement this game but I cannot come up with a good algorithm and data structues.
The ideas of the game is,
enter image description here

Can anyone suggest an algorithm?

(I hope the ideas is clear)

  • 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-26T01:11:50+00:00Added an answer on May 26, 2026 at 1:11 am

    By algorithm, I guess you mean the design of the program. You would end up using several algorithms in the final game.

    You would design this the same way you’d tackle any piece of software (there’s nothing special about it being a game). First, you’d start with a specification, which you have. Then, you’d break it down into logical units:

    • the board
    • the player
    • the enemies

    and then you’d consider how they interact. For example, when the player moves, the board is updated. When an enemy moves, it checks the board to see if it has collided with the player. And so on.

    As for the structure of the game, every game I’ve worked on does this:

    set up the world
    
    while (playing)
    {
       draw the world
       update the world
    }
    

    In your case, the world would be the board, the player and the enemies (it would also include the UI). There is a hierarchy here, the player and the enemies belong to the board, so you get:

    create_board
    
    while (playing)
    {
       draw_board
       update_board
    }
    

    and draw_board is:

    draw_background
    draw_player
    draw_enemies
    

    and update_board:

    update_player
    update_enemies
    

    The update_ and draw_ functions can be further broken down. This is know as top down design.

    Designing the whole game for you would require a huge answer, and it would take away from you the fun of figuring these out for yourself. Hopefully this will get you started.

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

Sidebar

Related Questions

There is this example code, but then it starts talking about millisecond / nanosecond
I tried to find a question that would answer to this question but wasn't
I'm trying to recompile my old game which links the Ruby library, but I
I got this project, where there this error keeps occurring and its not on
There's this program, pdftotext, that can convert a pdf file to a text file.
There's this Excel file I want users to be able to download from my
There is this option available in Visual Studio 2008. Is there a similar option
There's this ... MSDN page, IQueryable(Of T) Interface . Can you do a better
there is this check-in-out program here at my workplace, it only takes the data
there's this interesting problem i can not solve myself. I will be very glad,

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.