Game Programming

Game programming is the software development of video games. Game programming requires substantial skill in software engineering as well as specialization in simulation, computer graphics, artificial intelligence, physics, audio programming, and input. Like other software, game development programs are generated from source code to the actual program by a compiler. Source code can be developed with almost any text editor, but most professional game programmers use a full integrated development environment (IDE).

Share tech news, updates, or what's on your mind.

Sign up to Post

The probability formulas are to be used for wagering on harness racing. There are 6 types of wagerings:

1. Win: You wager on that a certain horse will win the race, and there might be 12 horses in the field.
2. Place. You wager on that a certain horse will end 1st, 2nd or 3rd in the race.
3. Twins: You wager on that two horses in the field will end 1st and 2nd irrespective of the order in the race.
4. Trio: You wager on that three horses will end 1st, 2nd and 3rd in exactly that order in the race.
5, Top 7 Pro: You wager on that 7 horses end 1st, 2nd, 3rd, 4th, 5th, 6th and 7th in exactly that order in the race.
6. DD: You wager on that a certain horse will win race 1 and a certain horse will win race 2.

So type 1-5 are for only one race, whereas type 6 is for 2 races.

Type 1 is not difficult: If there are 12 horses in the race, then each horse has a 1/12th chance to win (8.3 %) if they would have exactly the same capability.

What would the function be for the other five types, assuming there are always 12 horses in the field?

Logically the order of most easy to most difficult would be this:

2. Place
1. Win (difficulty/probability 8.3 %)
3. Twins
6. DD
4. Trio
5. Top 7 Pro

Which formulas could I enter in this online probability calculator for example?:

http://stattrek.com/online-calculator/probability-calculator.aspx
0
Database Backup and Recovery Best Practices
LVL 2
 Database Backup and Recovery Best Practices

Join Percona’s, Architect, Manjot Singh as he presents Database Backup and Recovery Best Practices (with a Focus on MySQL) on Thursday, July 27, 2017 at 11:00 am PDT / 2:00 pm EDT (UTC-7). In the case of a failure, do you know how long it will take to restore your database?

The other day Rourke told me about a game called Screeps where you code your AI units in Javascript. I'm surprised I haven't heard about these types of games before! The reviews say there's a barrier to entry for novice programmers but hopefully that won't scare too many off.
9
 
LVL 6

Expert Comment

by:Craig Kehler
That is great. So who is building a private EE server? :)
3
 
LVL 7

Expert Comment

by:Brian Matis
I love that idea Craig!
0
Hi
I have set up a project with a freelancer, and he needs access to my wp-admin - as it is my blog.

Do I give him my Godaddy password, or is there a system for giving external people access to parts of my account?

I gave him my Google password for Adsense. Was that a mistake?

Should I be worried. He is in India. I doubt he is in the Indian Freelancer Mafia. He looked like a decent guy in his pic.

Thanks
0
3
I am working with my son learning javascript by following a book called '3D Game Programming for Kids'. It is an awesome book, explains thing nicely and we were doing great until we got to the following bit of code that we absolutely need to continue the book. It is supposed to add four trees to the screen but when I place this bit of code in the main code our original avatar does not even show up anymore so i know that the only problem was with this section of code with the tree not with the rest of it. I will show you this section of code (that I copied exactly from the book) and then then entire avatar code so far. Any help is very much appreciated as we are completely stuck and cannot move forward and I really need your help to help my son learn but I'm learning at the same time. Thanks! :)

This is the Tree code:

***********

makeTreeAt(500, 0);
makeTreeAt(-500, 0);
makeTreeAt(750, 0);
makeTreeAt(-750, 0);

function makeTreeAt(x, z) {
  var trunk = new THREE.Mesh(
    new THREE.Cylinder.Geometry(50, 50, 200),
    new THREE.MeshBasicMaterial({color: 0xA0522D})
    );
 
  var top = new THREE.Mesh(
    new THREE.SphereGeometry(150),
    new THREE.MeshBasicMaterial({color: 0x228B22})
    );
    top.position.y = 175;
    trunk.add(top);
   
    trunk.position.set(x, -75, z);
    scene.add(trunk);
}

**********************************************************


Here is the entire code for the avatar with the tree code added:

0
Dear experts,

I've encountered a strange problem when doing depth-fail stencil shadows. The back cap seems to be interfering with the stencils causing them to marked as lit rather than shadowed.

I'm using a 2-way stencil btw. I'd just like to ask for some first-glance indications. I'm not asking to be spoonfed with a solution.
stencil_buffer_shadow_error.png
0
Hello,

I need a collision function for a random number of 3D objects (TCube) in a Viewport.

Only one of TCube object is moving at a time (by mouse move) and i need to collide (and stop) when another 3D object standing in his way.

I try a lot of ideeas but with small result.
0
Hi

In the Newsmag Wordpress demo page  here
it has a nice Newsmag header area

Can that exact header rectangle be a graphical banner I've made? or text only? I seem to remember it being text only.

Can this theme be a blog?
Thanks
0
Would for example Java or GWbasic be a good choice? (If possible to achieve without Excel's VBA.) Or could I benefit from using an online tool such as Unity or Game Maker Studio 2? What about Smalltalk or Ruby? And should I avoid PHP, JavaScript and C++ according to this website?:

https://medium.com/smalltalk-talk/the-three-worst-programming-languages-b1ec25a232c1

I already have a lot of VBA in this Excel, and now want to add a simulator for simulation of each harness race I have handicapped. It would consist of an oval shaped circuit and objects (maximum 15), that represent the horses, running around this circuit, and which I can control by entering values in a table below the circuit. Something like this:

https://www.youtube.com/watch?v=GaDdmlARB10&feature=youtu.be
https://www.youtube.com/watch?v=0jynCeeLAtI

(But my simulation would be an oval shaped circuit, otherwise the same principle with a table below where I can enter values that affect how the race is run/simulated.)

A layout something like this is what I have in mind:

https://www.youtube.com/watch?v=gV_0o40ckf4&t=442s
https://sites.google.com/site/e90e50fx/home/racetrack-chart-with-excel
(The first option would be perfect, if possible in Excel and in Windows 10.)

Of course these kind of layouts would be very good also, but probably not possible in Excel:

https://www.youtube.com/watch?v=i2-aJjgi7mE

So no high requirements on graphics (is not possible anyway in Excel), but on being able …
0
Hi

I have done Adsense before on a blog, and broke the payment threshold just? once.

I think I once saw on their TOS that Adsense is only allowed through regular browsing.
This is a reasonable requirement, and my first blog was a discussion.

If on my new discussion, I want to do a serious prize contest, like $50 K, for a submitted audio track, am I allowed to say that only serious, well respected, active members on the site can submit tracks for peer-review via my permission? What might be the surrounding issues?
Thanks
0
What does it mean to be "Always On"?
LVL 4
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Hi
If a Facebook post has 2 Thousand+ smiles, frowns and such, do all of them receive new comments?

Thanks
0
Hi
I'm doing a new website.

The last time I did a blog, I think some people found out my real name, and I was ticked off. Did they do a whois on my domain?
How do you do that? I have Godaddy.
How can I, in-fact, be completely anonymous? (totally, so the Kremlin can't even track me down) CIA, FBI, Vlad the impailer, or Garry Kasparov

Thanks
0
I want to be a Game play Programmer. to be GPP I need to study in a good university.Good universities want good $$$.i want start my career for some years or some time.which career is best that give me more $$$.
1.Java EE/Java Developer
2.Mobile App Developer
3.UI/UX Designer
4.Internet Advertiser
0
How do I code to make a space like universe for my games map?
0
How do I code for a robot and soccer ball for my game?
0
Do you have the source code for Metro Board Game in Prolog. Here is the description : http://www.bluering.nl/sieuwert/games/metro/  Thank you.
0
When making games how do you find out how many programming codes you will need?
0
This is awesome! Minecraft is already a great game, and now it can help kids learn how to code. I'm bummed this is only in the Education Edition right now, but hopefully it'll get into the normal edition sometime soon.

I also wonder what sort of new things people will create in Minecraft as a result of this... I was once building a massive suspension bridge, but it got pretty tedious and repetitive. Seems like programming a bot to carry out the construction would have been a fun project!
7
Blahblagh l
0
Free Tool: Path Explorer
LVL 9
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Hi

If my friend and I want to cover
Baby one more time,
Do a video,
How good can hair additions be?
If I look like attachment, can hair extensions approximate Britney in 'Baby one more time'
I live in Wilmington, NC, which is a film town, so I'm sure I can find people to do it if it's possible.
?
I need schoolgirl, Britney long flowing, or pigtails hair.

Thanks
securedownload.jpeg
0
Hi

In Starcraft 2, the better players can build a base at their natural expansion immediately, but when it's me, it expects Vespene gas.

How do I expand instantly without gas?

Thanks
0
Hi
I am getting a Jupiter - 80 keyboard for my new band, but there are quite a few places to buy it from.
The one I have now has broken buttons, and is still under warranty.
I've sent for a mail-it-back-and-get-a-refund, but I have to buy a new one somewhere else.

I can find a new one for $2499 on
Full Compass
Is there a better option somewhere else?

Thanks
0
This development represents an important step forward in AI research, away from mastering tasks like voice,image recognition, and translation, and towards a more nuanced and collaborative AI that adopts a human-like method for decision-making.

Cool competition.  However, if I was capable at creating such AI, I wouldn't do it for $20,000.  I'd sell this AI to the highest bidder!

http://www.techrepublic.com/article/microsoft-competition-asks-phd-students-to-create-advanced-ai-to-play-minecraft/?ftag=TRE684d531&bhid=27457961240876229835964102892079
7
 

Expert Comment

by:ModeIT
for the original? I find that almost hard to believe now.. I used to have a crap load of the maps. I wonder if I saved them along with the game CD. I should rip the CD on for a virtual drive so I can play without it and try to boot an old PC for the game maps..


never did play SC2 :/ it was laggy on my laptop of the time, though my current one should be fine, I wonder what I'd have to pay for a copy now a days
0
 
LVL 16

Author Comment

by:Kyle Santos
Nice.  Yeah, BN is still very much alive.  http://us.battle.net/sc2/en/
I played the full campaigns of SC2.  It was satisfying to finally get the ending of the story.  I thought it was worth it.

You should still have the maps if you haven't wiped your OS or saved the map files on a USB thumb drive haha

CD on for a virtual drive
This.  SO MUCH.
0
Hi

My new Jupiter-80 is okay, as a Synth keyboard.

I am used to my clavinova's perfect piano setting.
I can only get hints of my Jupiter's piano setting. It seems to always work in halves, upper and lower.
How do I make it ALL piano, no synth?

Thanks
0
Throwback Thursday!

I've been fascinated by developments in machine learning and AI, so I decided to run some searches here on EE to see what sort of questions people had been asking in these areas. I stumbled across this old question from April 2000, regarding developing the AI portion of a card game. Couldn't help but be reminded of how just recently a machine learning system was able to figure out poker and emerge victorious.

We've come a long way!

https://www.experts-exchange.com/questions/10329216/AI-for-card-games.html
2

Game Programming

Game programming is the software development of video games. Game programming requires substantial skill in software engineering as well as specialization in simulation, computer graphics, artificial intelligence, physics, audio programming, and input. Like other software, game development programs are generated from source code to the actual program by a compiler. Source code can be developed with almost any text editor, but most professional game programmers use a full integrated development environment (IDE).