SlideShare a Scribd company logo
Game
Programming
Help
Content for Game programming:


Introduction to Game programming.



Different types of game



Different programming language for Game



Different programming language strength and weakness for Game:



Game development tools



Various Game programming language.



Flowchart for Game development.



Designing a Game and the Game Engine



Game design Heart



Game Design Techniques



Game design reality check



Magic Formula:



C++ Source code for Tic Tac Toe game



References:



For further Info.
Introduction:
Game programming language:
Game programming language is the software development for video games and
is a subset of the game development. It requires the substantial skill in the
software engineering. Game programming
required specialization in the
following areas to create game:
Simulation
Computer Graphics
Stage Design
Physics
Audio Programming
Input
Artificial intelligence
Different types of Games:
DOOM-like first-person games—These games are full 3D and can view
them from the character’s perspective.
Sports games—Sports games can be either 2D or 3D.
Arcade/shoot-up/platform—These games are your typical Asteroids,
and Jazz Jackrabbit type stuff.
Mechanical simulations—These games encompass any kind of driving,
flying, boating, racing, and tank-battle simulation,
Ecosystem simulations—This is really a new kind of game that has no
real-world analog —other than the real world itself.
Different programming language for Game:
Computer and video games programming are written primarily in:

C
C++
Assembly language
Various script languages are used for the generation of content
such as game play and especially AI:

Ruby
Lua
Python
Different programming language strength
and weakness for Game:
Language
Assembly

C

C++

Strengths

Weaknesses

Potentially minimal CPU overhead

Error-prone, slow development, difficult to
learn, not portable

Widely known, numerous tools

Lack of object-oriented functionality,
difficult for large projects or multiple
platforms

Development costs of manual memory
Object-oriented, widely used, numerous tools management, "boilerplate" code, and
potentially long compilation times
Generally limited to Microsoft platforms
(Windows and Xbox),garbage
collection overhead, easily reverseengineered

C#

Object-oriented, automatic memory
management, offers reflection

Java

Lack of user-defined value-types,garbage
Object-oriented, automatic memory
collection overhead, memory overhead,
management, widely portable, offers reflection unavailable on major gaming consoles,
easily reverse-engineered
Games development tools:
Game development tool is a software application which facilitates
the making of the Game(Computer or video Games).

For example:IDE and 3D graphics modelling are game tools which are COTS
product.
2D and 3D package ( Blender, GIMP, Photoshop and3D Studio
Max) are used for view and modification of assets.
3D models, textures are used for the conversion of assets into
required format for the Game.
Various Game Programming language :
•Scratch programming language
•Squeak Smalltalk programming language
•Kodu programming language

•Greenfoot programming language
•Kojo programming language
•Unity programming language
•Guido Van Robot programming language

•Hackety programming language
•Laby programming language
•Illumination Software Creator programming language
•xKarel programming language
Flowchart for Game development
Designing a Game:
Computer Science
Art
Music
Business
Marketing

The Game Engine:
Graphics & Animation
Physics
Controller Interaction
AI Primitives
Sound
Networking
Scripting system
Game Design Heart
Game Design Techniques:
Game design reality check
Magic Formula:
C++ Source code for Tic Tac Toe game
#include <iostream>
using namespace std;
char square[10] = {'o','1','2','3','4','5','6','7','8','9'};
int checkwin();
void board();
int main()
{
Int player = 1,i,choice;
char mark;
do
{
board();
player=(player%2)?1:2;
cout << "Player " << player << ", enter a number: ";
cin >> choice;
mark=(player == 1) ? 'X' : 'O';
if (choice == 1 && square[1] == '1')
square[1] = mark;
else if (choice == 2 && square[2] == '2')
square[2] = mark;
else if (choice == 3 && square[3] == '3')
square[3] = mark;
else if (choice == 4 && square[4] == '4')
square[4] = mark;
else if (choice == 5 && square[5] == '5')
square[5] = mark;
else if (choice == 6 && square[6] == '6')
square[6] = mark;
else if (choice == 7 && square[7] == '7')
square[7] = mark;
else if (choice == 8 && square[8] == '8')
square[8] = mark;
else if (choice == 9 && square[9] == '9')
square[9] = mark;
else
{
cout<<"Invalid move ";
player--;
cin.ignore();
cin.get();
}
i=checkwin();
player++;

}
while(i==-1);
board();
if(i==1)
cout<<"==>aPlayer "<<--player<<" win ";
else
cout<<"==>aGame draw";
cin.ignore();
cin.get();
return 0;
}
int checkwin()
{
if (square[1] == square[2] && square[2] == square[3])
return 1;
else if (square[4] == square[5] && square[5] == square[6])
return 1;
else if (square[7] == square[8] && square[8] == square[9])
return 1;
else if (square[1] == square[4] && square[4] == square[7])
return 1;
else if (square[2] == square[5] && square[5] == square[8])
return 1;
else if (square[3] == square[6] && square[6] == square[9])
return 1;
else if (square[1] == square[5] && square[5] == square[9])
return 1;
else if (square[3] == square[5] && square[5] == square[7])
return 1;
else if (square[1] != '1' && square[2] != '2' && square[3] != '3‘ &&
square[4] != '4‘ && square[5] != '5‘ && square[6] != '6‘ && square[7] != '7'
&& square[8] != '8' && square[9] != '9')
return 0;
else
return -1; }

void board()
{
system("cls");
cout << "nntTic Tac Toenn";
cout << "Player 1 (X) - Player 2 (O)“ << endl << endl;
cout << endl; cout << " | | " << endl;
cout << " " << square[1] << " | " << square[2] << " | " << square[3] << endl;
cout << "_____|_____|_____" << endl;
cout << " | | " << endl;
cout << " " << square[4] << " | " << square[5] << " | " << square[6] << endl;
cout << "_____|_____|_____" << endl;
cout << " | | " << endl;
cout << " " << square[7] << " | " << square[8] << " | " << square[9] << endl;
cout << " | | " << endl << endl;
}
Image for the Tic Tac Toe:
References:
 Game Design (2nd ed.). Thomson Course Technology.

Moore, Michael E.; Novak, Jeannie (2010). Game Industry Career Guide.
Evans, Richard (2002). Rabin, Steve, ed. AI Game Programming Wisdom.

External Link:
Game Developer Magazine official site
For further Info :
Read more about game programming
http://www.assignmenthelp.net/game/game_programming_help
+1-617-874-1011 (USA)

+44-117-230-1145 (UK)
+61-7-5641-0117 (AUS)
support@assignmenthelp.net

More Related Content

What's hot

Phases of game development
Phases of game developmentPhases of game development
Phases of game development
Victor Terekhovskyi
 
A Gaming Company Structure
A Gaming Company StructureA Gaming Company Structure
A Gaming Company Structure
Juan Gabriel Gomila Salas
 
Game development Pre-Production
Game development Pre-ProductionGame development Pre-Production
Game development Pre-Production
Kevin Duggan
 
Game development life cycle
Game development life cycleGame development life cycle
Game development life cycle
Sarah Alazab
 
LAFS SVI Level 7 - Game Publishing
LAFS SVI Level 7 - Game PublishingLAFS SVI Level 7 - Game Publishing
LAFS SVI Level 7 - Game Publishing
David Mullich
 
inlusio | game development process
inlusio | game development processinlusio | game development process
inlusio | game development process
Tj'ièn Twijnstra
 
Game Development Project Management/Concept
Game Development Project Management/ConceptGame Development Project Management/Concept
Game Development Project Management/Concept
Kevin Duggan
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
Reggie Niccolo Santos
 
Game dev process
Game dev processGame dev process
Game dev process
Yassine Arif
 
Design phase of game development of unity 2d game
Design phase of game development of unity 2d game Design phase of game development of unity 2d game
Design phase of game development of unity 2d game
Muhammad Maaz Irfan
 
GameSalad Weekend Intensive
GameSalad Weekend Intensive GameSalad Weekend Intensive
GameSalad Weekend Intensive
Lynne Watanabe
 
Hybrid Game Development with GameSalad
Hybrid Game Development with GameSaladHybrid Game Development with GameSalad
Hybrid Game Development with GameSalad
mirahman
 
Skills You Need to Be a Video Game Developer
Skills You Need to Be a Video Game DeveloperSkills You Need to Be a Video Game Developer
Skills You Need to Be a Video Game Developer
MSBCollege
 
06. Game Architecture
06. Game Architecture06. Game Architecture
06. Game Architecture
Amin Babadi
 
Introduction to game development
Introduction to game developmentIntroduction to game development
Introduction to game development
Gaetano Bonofiglio
 
Game salad presentation_2012
Game salad presentation_2012Game salad presentation_2012
Game salad presentation_2012
Byron Mitchell
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
iTawy Community
 
What is game development
What is game developmentWhat is game development
What is game development
ِAbdulla AlShourbagy
 
Roles in the gaming industry
Roles in the gaming industryRoles in the gaming industry
Roles in the gaming industry
missstevenson01
 
LO1 - Lesson 7 - Hardware
LO1 - Lesson 7 - HardwareLO1 - Lesson 7 - Hardware

What's hot (20)

Phases of game development
Phases of game developmentPhases of game development
Phases of game development
 
A Gaming Company Structure
A Gaming Company StructureA Gaming Company Structure
A Gaming Company Structure
 
Game development Pre-Production
Game development Pre-ProductionGame development Pre-Production
Game development Pre-Production
 
Game development life cycle
Game development life cycleGame development life cycle
Game development life cycle
 
LAFS SVI Level 7 - Game Publishing
LAFS SVI Level 7 - Game PublishingLAFS SVI Level 7 - Game Publishing
LAFS SVI Level 7 - Game Publishing
 
inlusio | game development process
inlusio | game development processinlusio | game development process
inlusio | game development process
 
Game Development Project Management/Concept
Game Development Project Management/ConceptGame Development Project Management/Concept
Game Development Project Management/Concept
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Game dev process
Game dev processGame dev process
Game dev process
 
Design phase of game development of unity 2d game
Design phase of game development of unity 2d game Design phase of game development of unity 2d game
Design phase of game development of unity 2d game
 
GameSalad Weekend Intensive
GameSalad Weekend Intensive GameSalad Weekend Intensive
GameSalad Weekend Intensive
 
Hybrid Game Development with GameSalad
Hybrid Game Development with GameSaladHybrid Game Development with GameSalad
Hybrid Game Development with GameSalad
 
Skills You Need to Be a Video Game Developer
Skills You Need to Be a Video Game DeveloperSkills You Need to Be a Video Game Developer
Skills You Need to Be a Video Game Developer
 
06. Game Architecture
06. Game Architecture06. Game Architecture
06. Game Architecture
 
Introduction to game development
Introduction to game developmentIntroduction to game development
Introduction to game development
 
Game salad presentation_2012
Game salad presentation_2012Game salad presentation_2012
Game salad presentation_2012
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
What is game development
What is game developmentWhat is game development
What is game development
 
Roles in the gaming industry
Roles in the gaming industryRoles in the gaming industry
Roles in the gaming industry
 
LO1 - Lesson 7 - Hardware
LO1 - Lesson 7 - HardwareLO1 - Lesson 7 - Hardware
LO1 - Lesson 7 - Hardware
 

Viewers also liked

Significance of Language Skills in the Games Industry and how to motive stude...
Significance of Language Skills in the Games Industry and how to motive stude...Significance of Language Skills in the Games Industry and how to motive stude...
Significance of Language Skills in the Games Industry and how to motive stude...
Thomas Hulvershorn
 
Invent your own computer games with python
Invent your own computer games with pythonInvent your own computer games with python
Invent your own computer games with python
EQ SOFT EIRL
 
Forte language games for teaching theory
Forte language games for teaching theoryForte language games for teaching theory
Forte language games for teaching theory
Salisbury University
 
LANGUAGE GAMES
LANGUAGE GAMESLANGUAGE GAMES
LANGUAGE GAMES
sreelakshmignair42
 
Langevo.com
Langevo.comLangevo.com
Langevo.com
Langevo
 
Rules-of-the-game
Rules-of-the-gameRules-of-the-game
Rules-of-the-game
jennyelsoury
 
Lexical games
Lexical gamesLexical games
Lexical games
Romy Marchiotti
 
Student Callers Powerpoint Presentation
Student Callers Powerpoint PresentationStudent Callers Powerpoint Presentation
Student Callers Powerpoint Presentation
Monique Watson
 
Language Games
Language GamesLanguage Games
Language Games
akhilasanthosh
 
Lexical games
Lexical gamesLexical games
Lexical games
Romy Marchiotti
 
Tic tac toe
Tic tac toeTic tac toe
Tic tac toe
Syeda Urooba
 
Using games in teaching
Using games in teachingUsing games in teaching
Board games ppt
Board games pptBoard games ppt
Board games ppt
Universidad Santo Tomás
 
TIC TAC TOE
TIC TAC TOETIC TAC TOE
TIC TAC TOE
asmhemu
 
Tic tac toe game code
Tic tac toe game codeTic tac toe game code
Tic tac toe game code
Upendra Sengar
 
Math Puzzle Game By Assembly Language
Math Puzzle Game By Assembly LanguageMath Puzzle Game By Assembly Language
Math Puzzle Game By Assembly Language
Sanzid Kawsar
 
Game analysis - Transactional Analysis
Game analysis - Transactional AnalysisGame analysis - Transactional Analysis
Game analysis - Transactional Analysis
Manu Melwin Joy
 
Management games
Management gamesManagement games
Management games
deepinder86
 
Educational Games
Educational GamesEducational Games
Educational Games
guestb09f79
 

Viewers also liked (20)

Significance of Language Skills in the Games Industry and how to motive stude...
Significance of Language Skills in the Games Industry and how to motive stude...Significance of Language Skills in the Games Industry and how to motive stude...
Significance of Language Skills in the Games Industry and how to motive stude...
 
Invent your own computer games with python
Invent your own computer games with pythonInvent your own computer games with python
Invent your own computer games with python
 
Forte language games for teaching theory
Forte language games for teaching theoryForte language games for teaching theory
Forte language games for teaching theory
 
LANGUAGE GAMES
LANGUAGE GAMESLANGUAGE GAMES
LANGUAGE GAMES
 
Langevo.com
Langevo.comLangevo.com
Langevo.com
 
Rules-of-the-game
Rules-of-the-gameRules-of-the-game
Rules-of-the-game
 
Lexical games
Lexical gamesLexical games
Lexical games
 
Student Callers Powerpoint Presentation
Student Callers Powerpoint PresentationStudent Callers Powerpoint Presentation
Student Callers Powerpoint Presentation
 
Language Games
Language GamesLanguage Games
Language Games
 
Lexical games
Lexical gamesLexical games
Lexical games
 
الألعاب اللغوية
الألعاب اللغويةالألعاب اللغوية
الألعاب اللغوية
 
Tic tac toe
Tic tac toeTic tac toe
Tic tac toe
 
Using games in teaching
Using games in teachingUsing games in teaching
Using games in teaching
 
Board games ppt
Board games pptBoard games ppt
Board games ppt
 
TIC TAC TOE
TIC TAC TOETIC TAC TOE
TIC TAC TOE
 
Tic tac toe game code
Tic tac toe game codeTic tac toe game code
Tic tac toe game code
 
Math Puzzle Game By Assembly Language
Math Puzzle Game By Assembly LanguageMath Puzzle Game By Assembly Language
Math Puzzle Game By Assembly Language
 
Game analysis - Transactional Analysis
Game analysis - Transactional AnalysisGame analysis - Transactional Analysis
Game analysis - Transactional Analysis
 
Management games
Management gamesManagement games
Management games
 
Educational Games
Educational GamesEducational Games
Educational Games
 

Similar to Game programming-help

Tic tac toe on c++ project
Tic tac toe on c++ projectTic tac toe on c++ project
Tic tac toe on c++ project
Utkarsh Aggarwal
 
Tic tac toe c++ programing
Tic tac toe c++ programingTic tac toe c++ programing
Tic tac toe c++ programing
Krishna Agarwal
 
Data Driven Game development
Data Driven Game developmentData Driven Game development
Data Driven Game development
Kostas Anagnostou
 
New Tools for a More Functional C++
New Tools for a More Functional C++New Tools for a More Functional C++
New Tools for a More Functional C++
Sumant Tambe
 
Please follow the data 1) For Line 23 In the IF - Condition yo.pdf
Please follow the data 1) For Line 23 In the IF - Condition yo.pdfPlease follow the data 1) For Line 23 In the IF - Condition yo.pdf
Please follow the data 1) For Line 23 In the IF - Condition yo.pdf
info382133
 
2 lecture (gdd, responsibilites, level of game) 18 1-2021
2 lecture (gdd, responsibilites, level of game) 18 1-20212 lecture (gdd, responsibilites, level of game) 18 1-2021
2 lecture (gdd, responsibilites, level of game) 18 1-2021
Durgesh Pandey
 
Java term project final report
Java term project final reportJava term project final report
Java term project final report
Jiwon Han
 
Lecture 02 game_design_components_and_process
Lecture 02 game_design_components_and_processLecture 02 game_design_components_and_process
Lecture 02 game_design_components_and_process
Sayed Ahmed
 
#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf
aquacareser
 
#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf
aquapariwar
 
Types of Gaming Program
Types of Gaming ProgramTypes of Gaming Program
Types of Gaming Program
AbdullahWakeel1
 
Parallel Futures of a Game Engine
Parallel Futures of a Game EngineParallel Futures of a Game Engine
Parallel Futures of a Game Engine
Johan Andersson
 
Pong
PongPong
Ludocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling VideogamesLudocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling Videogames
rndmcnlly
 
TIC-TAC-TOE IN C
TIC-TAC-TOE IN CTIC-TAC-TOE IN C
TIC-TAC-TOE IN C
IRJET Journal
 
Offshore Game Development Presentation
Offshore Game Development PresentationOffshore Game Development Presentation
Offshore Game Development Presentation
Offshore Game Development
 
C PROGRAM CODE FOR SNAKE AND LADDER GAME
C PROGRAM CODE FOR SNAKE AND LADDER GAMEC PROGRAM CODE FOR SNAKE AND LADDER GAME
C PROGRAM CODE FOR SNAKE AND LADDER GAME
Abarajitha3
 
Game Design Document - Step by Step Guide
Game Design Document - Step by Step GuideGame Design Document - Step by Step Guide
Game Design Document - Step by Step Guide
DevBatch Inc.
 
Knock Knock on GameDev Gate
Knock Knock on GameDev GateKnock Knock on GameDev Gate
Knock Knock on GameDev Gate
BeMyApp
 
Knock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game developmentKnock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game development
Mamdouh Tarabishi
 

Similar to Game programming-help (20)

Tic tac toe on c++ project
Tic tac toe on c++ projectTic tac toe on c++ project
Tic tac toe on c++ project
 
Tic tac toe c++ programing
Tic tac toe c++ programingTic tac toe c++ programing
Tic tac toe c++ programing
 
Data Driven Game development
Data Driven Game developmentData Driven Game development
Data Driven Game development
 
New Tools for a More Functional C++
New Tools for a More Functional C++New Tools for a More Functional C++
New Tools for a More Functional C++
 
Please follow the data 1) For Line 23 In the IF - Condition yo.pdf
Please follow the data 1) For Line 23 In the IF - Condition yo.pdfPlease follow the data 1) For Line 23 In the IF - Condition yo.pdf
Please follow the data 1) For Line 23 In the IF - Condition yo.pdf
 
2 lecture (gdd, responsibilites, level of game) 18 1-2021
2 lecture (gdd, responsibilites, level of game) 18 1-20212 lecture (gdd, responsibilites, level of game) 18 1-2021
2 lecture (gdd, responsibilites, level of game) 18 1-2021
 
Java term project final report
Java term project final reportJava term project final report
Java term project final report
 
Lecture 02 game_design_components_and_process
Lecture 02 game_design_components_and_processLecture 02 game_design_components_and_process
Lecture 02 game_design_components_and_process
 
#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf
 
#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf#In this project you will write a program play TicTacToe #using tw.pdf
#In this project you will write a program play TicTacToe #using tw.pdf
 
Types of Gaming Program
Types of Gaming ProgramTypes of Gaming Program
Types of Gaming Program
 
Parallel Futures of a Game Engine
Parallel Futures of a Game EngineParallel Futures of a Game Engine
Parallel Futures of a Game Engine
 
Pong
PongPong
Pong
 
Ludocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling VideogamesLudocore: A Logical Game Engine for Modeling Videogames
Ludocore: A Logical Game Engine for Modeling Videogames
 
TIC-TAC-TOE IN C
TIC-TAC-TOE IN CTIC-TAC-TOE IN C
TIC-TAC-TOE IN C
 
Offshore Game Development Presentation
Offshore Game Development PresentationOffshore Game Development Presentation
Offshore Game Development Presentation
 
C PROGRAM CODE FOR SNAKE AND LADDER GAME
C PROGRAM CODE FOR SNAKE AND LADDER GAMEC PROGRAM CODE FOR SNAKE AND LADDER GAME
C PROGRAM CODE FOR SNAKE AND LADDER GAME
 
Game Design Document - Step by Step Guide
Game Design Document - Step by Step GuideGame Design Document - Step by Step Guide
Game Design Document - Step by Step Guide
 
Knock Knock on GameDev Gate
Knock Knock on GameDev GateKnock Knock on GameDev Gate
Knock Knock on GameDev Gate
 
Knock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game developmentKnock knock on GameDev gateway! - Introduction to Game development
Knock knock on GameDev gateway! - Introduction to Game development
 

Recently uploaded

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
deepaannamalai16
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
National Information Standards Organization (NISO)
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
BoudhayanBhattachari
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
RamseyBerglund
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
danielkiash986
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Henry Hollis
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Vivekanand Anglo Vedic Academy
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
RidwanHassanYusuf
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 

Recently uploaded (20)

Standardized tool for Intelligence test.
Standardized tool for Intelligence test.Standardized tool for Intelligence test.
Standardized tool for Intelligence test.
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
 
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
Jemison, MacLaughlin, and Majumder "Broadening Pathways for Editors and Authors"
 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
B. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdfB. Ed Syllabus for babasaheb ambedkar education university.pdf
B. Ed Syllabus for babasaheb ambedkar education university.pdf
 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
 
SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
 
Electric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger HuntElectric Fetus - Record Store Scavenger Hunt
Electric Fetus - Record Store Scavenger Hunt
 
Pharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brubPharmaceutics Pharmaceuticals best of brub
Pharmaceutics Pharmaceuticals best of brub
 
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.pptLevel 3 NCEA - NZ: A  Nation In the Making 1872 - 1900 SML.ppt
Level 3 NCEA - NZ: A Nation In the Making 1872 - 1900 SML.ppt
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptxBIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
BIOLOGY NATIONAL EXAMINATION COUNCIL (NECO) 2024 PRACTICAL MANUAL.pptx
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 

Game programming-help

  • 2. Content for Game programming:  Introduction to Game programming.  Different types of game  Different programming language for Game  Different programming language strength and weakness for Game:  Game development tools  Various Game programming language.  Flowchart for Game development.  Designing a Game and the Game Engine  Game design Heart  Game Design Techniques  Game design reality check  Magic Formula:  C++ Source code for Tic Tac Toe game  References:  For further Info.
  • 3. Introduction: Game programming language: Game programming language is the software development for video games and is a subset of the game development. It requires the substantial skill in the software engineering. Game programming required specialization in the following areas to create game: Simulation Computer Graphics Stage Design Physics Audio Programming Input Artificial intelligence
  • 4. Different types of Games: DOOM-like first-person games—These games are full 3D and can view them from the character’s perspective. Sports games—Sports games can be either 2D or 3D. Arcade/shoot-up/platform—These games are your typical Asteroids, and Jazz Jackrabbit type stuff. Mechanical simulations—These games encompass any kind of driving, flying, boating, racing, and tank-battle simulation, Ecosystem simulations—This is really a new kind of game that has no real-world analog —other than the real world itself.
  • 5. Different programming language for Game: Computer and video games programming are written primarily in: C C++ Assembly language Various script languages are used for the generation of content such as game play and especially AI: Ruby Lua Python
  • 6. Different programming language strength and weakness for Game: Language Assembly C C++ Strengths Weaknesses Potentially minimal CPU overhead Error-prone, slow development, difficult to learn, not portable Widely known, numerous tools Lack of object-oriented functionality, difficult for large projects or multiple platforms Development costs of manual memory Object-oriented, widely used, numerous tools management, "boilerplate" code, and potentially long compilation times Generally limited to Microsoft platforms (Windows and Xbox),garbage collection overhead, easily reverseengineered C# Object-oriented, automatic memory management, offers reflection Java Lack of user-defined value-types,garbage Object-oriented, automatic memory collection overhead, memory overhead, management, widely portable, offers reflection unavailable on major gaming consoles, easily reverse-engineered
  • 7. Games development tools: Game development tool is a software application which facilitates the making of the Game(Computer or video Games). For example:IDE and 3D graphics modelling are game tools which are COTS product. 2D and 3D package ( Blender, GIMP, Photoshop and3D Studio Max) are used for view and modification of assets. 3D models, textures are used for the conversion of assets into required format for the Game.
  • 8. Various Game Programming language : •Scratch programming language •Squeak Smalltalk programming language •Kodu programming language •Greenfoot programming language •Kojo programming language •Unity programming language •Guido Van Robot programming language •Hackety programming language •Laby programming language •Illumination Software Creator programming language •xKarel programming language
  • 9. Flowchart for Game development
  • 10. Designing a Game: Computer Science Art Music Business Marketing The Game Engine: Graphics & Animation Physics Controller Interaction AI Primitives Sound Networking Scripting system
  • 15. C++ Source code for Tic Tac Toe game #include <iostream> using namespace std; char square[10] = {'o','1','2','3','4','5','6','7','8','9'}; int checkwin(); void board(); int main() { Int player = 1,i,choice; char mark; do { board(); player=(player%2)?1:2; cout << "Player " << player << ", enter a number: "; cin >> choice; mark=(player == 1) ? 'X' : 'O'; if (choice == 1 && square[1] == '1') square[1] = mark; else if (choice == 2 && square[2] == '2') square[2] = mark; else if (choice == 3 && square[3] == '3') square[3] = mark; else if (choice == 4 && square[4] == '4')
  • 16. square[4] = mark; else if (choice == 5 && square[5] == '5') square[5] = mark; else if (choice == 6 && square[6] == '6') square[6] = mark; else if (choice == 7 && square[7] == '7') square[7] = mark; else if (choice == 8 && square[8] == '8') square[8] = mark; else if (choice == 9 && square[9] == '9') square[9] = mark; else { cout<<"Invalid move "; player--; cin.ignore(); cin.get(); } i=checkwin(); player++; } while(i==-1); board(); if(i==1) cout<<"==>aPlayer "<<--player<<" win ";
  • 17. else cout<<"==>aGame draw"; cin.ignore(); cin.get(); return 0; } int checkwin() { if (square[1] == square[2] && square[2] == square[3]) return 1; else if (square[4] == square[5] && square[5] == square[6]) return 1; else if (square[7] == square[8] && square[8] == square[9]) return 1; else if (square[1] == square[4] && square[4] == square[7]) return 1; else if (square[2] == square[5] && square[5] == square[8]) return 1; else if (square[3] == square[6] && square[6] == square[9]) return 1; else if (square[1] == square[5] && square[5] == square[9]) return 1; else if (square[3] == square[5] && square[5] == square[7]) return 1;
  • 18. else if (square[1] != '1' && square[2] != '2' && square[3] != '3‘ && square[4] != '4‘ && square[5] != '5‘ && square[6] != '6‘ && square[7] != '7' && square[8] != '8' && square[9] != '9') return 0; else return -1; } void board() { system("cls"); cout << "nntTic Tac Toenn"; cout << "Player 1 (X) - Player 2 (O)“ << endl << endl; cout << endl; cout << " | | " << endl; cout << " " << square[1] << " | " << square[2] << " | " << square[3] << endl; cout << "_____|_____|_____" << endl; cout << " | | " << endl; cout << " " << square[4] << " | " << square[5] << " | " << square[6] << endl; cout << "_____|_____|_____" << endl; cout << " | | " << endl; cout << " " << square[7] << " | " << square[8] << " | " << square[9] << endl; cout << " | | " << endl << endl; }
  • 19. Image for the Tic Tac Toe:
  • 20. References:  Game Design (2nd ed.). Thomson Course Technology. Moore, Michael E.; Novak, Jeannie (2010). Game Industry Career Guide. Evans, Richard (2002). Rabin, Steve, ed. AI Game Programming Wisdom. External Link: Game Developer Magazine official site
  • 21. For further Info : Read more about game programming http://www.assignmenthelp.net/game/game_programming_help +1-617-874-1011 (USA) +44-117-230-1145 (UK) +61-7-5641-0117 (AUS) support@assignmenthelp.net