Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Snooker Game programing using c Programing.

Snooker Game programing using c Programing.

Scheduled Pinned Locked Moved C / C++ / MFC
game-devhelpquestion
5 Posts 4 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Francis Lagar
    wrote on last edited by
    #1

    How can you insert the elastic walls of the snooker table and make all the 16 balls move and bounce off the walls? Can someone pliz help me with the code of a functional snooker game using C programing.

    L J 3 Replies Last reply
    0
    • F Francis Lagar

      How can you insert the elastic walls of the snooker table and make all the 16 balls move and bounce off the walls? Can someone pliz help me with the code of a functional snooker game using C programing.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Sorry this site does not provide code to order. To creatre such a program would need a good knowledge of C programming, general GUI processes and (probably) Windows GDI+ or Direct2D. This is not something that you could create in an afternoon.

      1 Reply Last reply
      0
      • F Francis Lagar

        How can you insert the elastic walls of the snooker table and make all the 16 balls move and bounce off the walls? Can someone pliz help me with the code of a functional snooker game using C programing.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        [Who has the full source code for the snooker game using C programming? - Quora](https://www.quora.com/Who-has-the-full-source-code-for-the-snooker-game-using-C-programming)

        "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

        1 Reply Last reply
        0
        • F Francis Lagar

          How can you insert the elastic walls of the snooker table and make all the 16 balls move and bounce off the walls? Can someone pliz help me with the code of a functional snooker game using C programing.

          J Offline
          J Offline
          jschell
          wrote on last edited by
          #4

          Francis Lagar wrote:

          How can you insert th

          Steps 1. Learn basic C 2. Learn how to get and use some additional basic libraries for C. 3. Learn basic UI interactions. 4. Draw some basic shapes using 1-3 on your monitor which are sort of like what you want. It will improve later. 5. Learn collision mathematics and how it relates to games. This is not going to be simple. You could skip this and just guess unless you really want it to look right. 6. Create actual program by breaking into parts. For smooth movement you are going to need how to make the graphics move incrementally. This can either be simple (but jerky) or you can spend a lot of time learning it. I suspect there is going to be more to the above.

          D 1 Reply Last reply
          0
          • J jschell

            Francis Lagar wrote:

            How can you insert th

            Steps 1. Learn basic C 2. Learn how to get and use some additional basic libraries for C. 3. Learn basic UI interactions. 4. Draw some basic shapes using 1-3 on your monitor which are sort of like what you want. It will improve later. 5. Learn collision mathematics and how it relates to games. This is not going to be simple. You could skip this and just guess unless you really want it to look right. 6. Create actual program by breaking into parts. For smooth movement you are going to need how to make the graphics move incrementally. This can either be simple (but jerky) or you can spend a lot of time learning it. I suspect there is going to be more to the above.

            D Offline
            D Offline
            Daniel Pfeffer
            wrote on last edited by
            #5

            Depending on the environment, basic real-time programming and multithreading may also be required.

            Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups