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

  • Home
  • SEARCH
  • 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 82581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:38:22+00:00 2026-05-10T21:38:22+00:00

What would be the best way to display & program simple game board (say

  • 0

What would be the best way to display & program simple game board (say chess, checkers and such) in C#? In terms of controls and underlying game logic.

An idea that came to my mind was to use Picture Box (or class inheriting from it) with Board & Field classes.

  • Is that a decent solution after all?
  • How would I separate graphics from game logic using this solution (I believe Board & Field classes may not be enough)?
  • Is PictureBox efficient enough for such purpose?

Googling some also brought me to solutions using button/label for each game field. But back to Board, Field and PictureBox.

Extendability – designing it properly would easily allow to implement any other board game (or even card game) as it’s all about board with modifiable fields after all.

  • 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. 2026-05-10T21:38:22+00:00Added an answer on May 10, 2026 at 9:38 pm

    In an object-oriented approach, think about the objects involved in your game (e.g. the board, the pieces) … let them each provide a drawing method that takes a Graphics object and draws itself on it.

    The drawing itself could be done on a PictureBox – this is the ideal control for such purpose – but this isn’t really all that important because once your drawing logic is in place, it won’t depend on the kind of control.

    In general, don’t use workarounds with different controls. These might be nice for a conventional GUI. Not so much for games (or any kind of graphics-heavy application).

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

Sidebar

Ask A Question

Stats

  • Questions 69k
  • Answers 69k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer How to use a string containing a class name to… May 11, 2026 at 12:29 pm
  • added an answer I've done this exact same thing (publishers and consumers in… May 11, 2026 at 12:29 pm
  • added an answer The environment variable $PROGRAMFILES holds this. Most properties in visual… May 11, 2026 at 12:29 pm

Related Questions

What would be the best way to have a list of items with a
What would be the best way to fill a C# struct from a byte[]
can anybody show me how to build a string using checkbox. what would be
I have HTML code edited by FCKEditor stored in a database and would like

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.