Rock , paper and scissors game made with PYTHON Home
The Rock, Paper & Scissor game illustrates the basic principle of adaptive artificial intelligence technology. The system learns to identify patterns of a person’s behavior by analyzing their decision strategies in order to predict future behavior.
Project by: Vishruth Khare (CO393) , Vishwas Agarwal (CO395)
Submitted to: Ms. Chingmuankim Naulak
Subject: Computer Graphics (CO-313)
About: The game is a side-scroller where the player controls a bird, attempting to fly between rows of green pipes, which are equally sized gaps placed at random heights, without coming into contacting them. Each successful pass through a pair of pipes awards the player one point. If the player touches the pipes, it ends the game. The bird briefly flaps upward each time the player taps the key; if the key is not tapped, the bird falls due to gravity. The player is awarded several milestones, such as a bronze medal if they reached twenty points, a silver medal from Forty points, a gold medal from Fifty, and a platinum medal from Hundred points. The achievements get stored in the collectable haul.
Compatibility: Any system with Love2D framework installed can compile, execute and play this game.
Rock , paper and scissors game made with PYTHON Home
The Rock, Paper & Scissor game illustrates the basic principle of adaptive artificial intelligence technology. The system learns to identify patterns of a person’s behavior by analyzing their decision strategies in order to predict future behavior.
Project by: Vishruth Khare (CO393) , Vishwas Agarwal (CO395)
Submitted to: Ms. Chingmuankim Naulak
Subject: Computer Graphics (CO-313)
About: The game is a side-scroller where the player controls a bird, attempting to fly between rows of green pipes, which are equally sized gaps placed at random heights, without coming into contacting them. Each successful pass through a pair of pipes awards the player one point. If the player touches the pipes, it ends the game. The bird briefly flaps upward each time the player taps the key; if the key is not tapped, the bird falls due to gravity. The player is awarded several milestones, such as a bronze medal if they reached twenty points, a silver medal from Forty points, a gold medal from Fifty, and a platinum medal from Hundred points. The achievements get stored in the collectable haul.
Compatibility: Any system with Love2D framework installed can compile, execute and play this game.
a mini project in computer grafics using c and linkedlisted on a small game that name is snake game. we play this on mobile but this can be played on pc
OpenGL Mini Projects With Source Code [ Computer Graphics ] WITH SOURCE CODES
Paid OpenGL projects • Here’s about 30+ OpenGL GLUT projects. • Price $5 • Easy Payment methods: For Bangladesh and other Countries .
If you are interested to get these projects, just mail the project name along with your name, and institute name. I’ll Contact You As Soon As Possible .
EMAIL:- k4nc80n@gmail.com
FACEBOOK:- https://www.facebook.com/k4nc80n
Source Code :- k4nc80n@gmail.com
For more Project :-
EMAIL:- k4nc80n@gmail.com
FACEBOOK:- https://www.facebook.com/k4nc80n
INSTAGRAM:- https://www.instagram.com/k4nc80n
TWITTER:- https://www.twitter.com/K4NC80N
“Intoduction To Game Development ”
This sesion will be covering some aspects of the theory and practice of game development and design .
- For those who are intersted in game development , This session will should be enough to get you started .
This is a presentation slide of our project, which is made by C programming language. our project topic was Tic tac Toe game. this is a mini-game project .
SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL
a mini project in computer grafics using c and linkedlisted on a small game that name is snake game. we play this on mobile but this can be played on pc
OpenGL Mini Projects With Source Code [ Computer Graphics ] WITH SOURCE CODES
Paid OpenGL projects • Here’s about 30+ OpenGL GLUT projects. • Price $5 • Easy Payment methods: For Bangladesh and other Countries .
If you are interested to get these projects, just mail the project name along with your name, and institute name. I’ll Contact You As Soon As Possible .
EMAIL:- k4nc80n@gmail.com
FACEBOOK:- https://www.facebook.com/k4nc80n
Source Code :- k4nc80n@gmail.com
For more Project :-
EMAIL:- k4nc80n@gmail.com
FACEBOOK:- https://www.facebook.com/k4nc80n
INSTAGRAM:- https://www.instagram.com/k4nc80n
TWITTER:- https://www.twitter.com/K4NC80N
“Intoduction To Game Development ”
This sesion will be covering some aspects of the theory and practice of game development and design .
- For those who are intersted in game development , This session will should be enough to get you started .
This is a presentation slide of our project, which is made by C programming language. our project topic was Tic tac Toe game. this is a mini-game project .
SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL SAMCSCMLA SCACLSALS CS L LSLSL
Are you interested in learning Python? Enroll in our comprehensive Python course and unlock the potential of this powerful programming language! Designed for beginners and aspiring developers, our course covers everything you need to know to master Python. From basic syntax to advanced concepts, you'll gain hands-on experience through practical exercises and real-world projects. Our experienced instructors will guide you every step of the way, ensuring a clear understanding of Python's key features and its applications in web development, data analysis, machine learning, and more. Join us today and embark on an exciting journey to becoming a proficient Python programmer!
CONFERENCE POSTER
CLINICAL PHARMACOGNOSY
SPORAMIN- PHYTOPROTEIN ISOLATED FROM SWEET POTATO (Ipomoea batatas) FOR ANTI-CANCER ACTIVITY BY INDUCING APOPTOSIS IN CANCER CELL LINES- A REVIEW
Connective tissue is incredibly important, as it provides a protective structural framework
for other tissues, so let’s learn about the types of connective tissue in the body,
and their features.
The four main kinds of connective tissue are connective tissue proper, cartilage, bone,
and blood.
A few of these may not seem like they would have qualified as tissue, so we must be aware
that connective tissue does much more than just connect the body parts.
Its functions include binding, support, protection, insulation, storage, and transportation of
substances throughout the body.
While these are rather disparate purposes, there are some things that all connective
tissue has in common.
They are all derived from a particular type of embryonic tissue called mesenchyme, and
they are comprised not just of cells, but also of an extensive extracellular matrix.
This matrix is what makes this type of tissue so good at withstanding lots of force or tension.
Let’s go over the main components of connective tissue now.
Connective tissues are comprised of ground substance, fibers, and cells, and the first
two of these components are what make up the extracellular matrix that we mentioned.
Let’s start with ground substance.
This is the material that fills the space between the cells and connects all the fibers.
It’s made up of interstitial fluid, cell adhesion proteins, and proteoglycans, which
to varying degrees act as a sort of glue.
Embedded within the ground substance are the fibers, as we mentioned, and these come in
a few varieties.
Collagen fibers are the strongest, made predominately of the protein collagen, as one might guess,which is the most abundant protein in the body. These proteins are assembled into cross-linked fibrils, and then bundled together to form fibers.
Gram for gram, these fibers are stronger than steel, and prevent things from being pulled apart.
Then there are elastic fibers.
These are long and thin, made of a stretchy protein called elastin, and they form networks
within the extracellular matrix.
Lastly, there are reticular fibers.
These are similar to collagen fibers but they form networks, supporting other types of tissue.
With ground substance and fibers covered, that leaves us with the cells.
These can be any of the varieties we listed earlier, and they can either be mature or
immature, the latter meaning they have not yet differentiated, or specialized.
In this actively mitotic state they will secrete the ground substance and fibers characteristic
of the cell type they will become, and these have different names from the mature cells,
ending in the suffix “blast”, which means they are forming.
Connective tissue proper forms from fibroblasts, cartilage comes from chondroblasts, and bones
from osteoblasts.
Blood cells come from hematopoietic stem cells, but as this is a different process, we will
examine this when we take a closer look at the bloodstream.
Once mature, the suffix “blast” becomes another suffix “cyte”
BPHARM 1ST SEMESTER 1ST YEAR
PHARMACEUTICS-1
SUSPENSION
Suspensions: Definition, advantages and disadvantages, classifications,
Preparation of suspensions; Flocculated and Deflocculated suspension & stability
problems and methods to overcome.
cbse Biology investigatory project class 12 on neuro-biological and systemic...meenaloshiniG
Biology investigatory project class 12 investigatory project class 12 on neuro-biological and systemic effects of chronic stress in human body.
a new project that tells how just simple stress and depression affect the human body mentally and physically.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
1. Page1
TABLE OF CONTENTS
S.NO TOPICS PAGE.NO
1. INTRODUCTION 2
2.
SYSTEM OBJECTIVES & AIM OF THE
PROJECT
3
3.
HARDWARE & SOFTWARE
REQUIREMENTS
4
4. THEORY 5-7
5. HEADER FILES INCLUDED 8
6. SOURCE CODE 9-23
7. OUTPUT SCREENS 24-26
8. BIBLIOGRAPHY 27
2. Page2
INTRODUCTION
Pac-Man[a]
is a maze arcade game developed and released by Namco in 1980.[7]
Outside Japan, the game was
published by Midway Games as part of its licensing agreement with Namco America. The player controls Pac-
Man, who must eat all the dots inside an enclosed maze while avoiding four colored ghosts. Eating large flashing
dots called power pellets causes the ghosts to turn blue, allowing Pac-Man to eat them for bonus points. It is the
first game to run on the Namco Pac-Man arcade board.
GAME PLAY:
The player navigates Pac-Man through a maze with no dead ends. The maze is filled with Pac-Dots, and
includes four roving multi-colored ghosts: Blinky, Pinky, Inky, and Clyde. There is a passageway from the left
side of the screen to the right side, one energizer in each of the four quadrants, and bonus fruits that appear in
each level.
What this game does include:
- Proper display of score and lives
- When the player gets a game over, the hi score is kept so that the player may try to beat it
- The player gains an extra life for every 10000 points earned
- All four ghosts; Blinky, Pinky, Inky, and Clyde
- Proper timing for the ghosts to first exit the ghost house
- The player and the ghosts may travel through the tunnel
- Pellets are worth 10 points while Super Pellets are worth 50 points
- Super Pellets and Super Pacman mode
- The ghosts intelligently chase/run from the player
- The ghosts move just slightly slower than Pacman when they are chasing
- The ghosts move almost half as fast as Pacman when they are blue and running away
- After a ghost is eaten, it turns white and zips back to the ghost house and then re-exits
- When the player is Super Pacman, the ghosts flash before returning to normal
- Proper animations upon completing a level, dying, or getting a game over
3. Page3
SYSTEM OBJECTIVES & AIM OF THE PROJECT
AIM :
The aim of pacman is to eat all of dots. It may seems easy, but it is not as simple as it seems – the task is
made difficult because of four ghosts – (pink one – Pinky, blue – Inky, red – Blinky and orange – Clyde).
They are trying to catch Pacman, and when one of them touches Pac-Man, a life is lost.
4. Page4
HARDWARE REQUIREMENT
COMPONENTS REQUIREMENTS
Processor Intel(R) Pentium(R) CPU N3520
@ 2.16GHz
Ram 2 GB
Hard disk drive 465 GB
Graphics memory 775 MB
SOFTWARE ENVIRONMENT
COMPONENTS REQUIREMENTS
Os 64-bit operating
system(WINDOWS 7)
Graphics Intel(R) HD Graphics
Programming Language TURBO C7 (C++)
FILES GENERATED
Text file: thepacman.txt
Programme file: thepacman.cpp
Object file: thepacman.obj
Execution file: thepacman.exe
5. Page5
C++ OVERVIEW
C++ is a multi-paradigm programming language that supports object-oriented programming
(OOP), created by Bjarne Stroustrup in 1983 at Bell Labs, C++ is an extension(superset) of C
programming and the programs are written in C language can run in C++ compilers.
C++ is used by programmers to create computer software. It is used to create general systems
software, drivers for various computer devices, software for servers and software for specific
applications and also widely used in the creation of video games.
USES:
C++ is used by many programmers of different types and coming from different fields. C++ is
mostly used to write device driver programs, system software, and applications that depend on
direct hardware manipulation under real-time constraints. It is also used to teach the basics of
object-oriented features because it is simple and is also used in the fields of research. Also, many
primary user interfaces and system files of Windows and Macintosh are written using C++. So,
C++ is a popular, strong and frequently used programming language of this modern programming
era.
FEATURES:
The main focus remains on data rather
than procedures.
Object-oriented programs are
segmented into parts called objects.
Data structures are designed to
categorize the objects.
Data member and functions are tied
together as a data structure.
Data can be hidden and cannot be
accessed by external functions using
access specifier.
Objects can communicate among
themselves using functions.
New data and functions can be easily
added anywhere within a program
whenever required.
6. Page6
Object Oriented Programming in C++
Object Oriented programming is a programming style that is associated with
the concept of Class, Objects and various other concepts revolving around
these two, like Inheritance, Polymorphism,
Abstraction, Encapsulation etc.
Encapsulation
Encapsulation is a process of combining data and
function into a single unit like capsule. This is to
avoid the access of private data members from outside the class. To achieve
encapsulation, we make all data members of class private and create public
functions, using them we can get the
values from these data members or set
the value to these data members.
Abstraction:
Abstraction is a process of hiding
irrelevant details from user.
Inheritance
Inheritance is a feature using which an object of child class
acquires the properties of parent class.
7. Page7
Polymorphism
Function overloading and Operator overloading are examples
of polymorphism. Polymorphism is a feature using which an
object behaves differently in different situation.
Modularity: the written program can be splitted up in to modules
by using classes and each class can be considered as a module.
File Handling using File Streams in C++
File represents storage medium for storing data or information. Streams refer to sequence of
bytes. In Files we store data i.e. text or binary data permanently and use these data to read or
write in the form of input output operations by transferring bytes of data. So we use the term File
Streams/File handling. We use the header file <fstream>
ofstream: It represents output Stream and this is used for writing in files.
ifstream: It represents input Stream and this is used for reading from files.
fstream: It represents both output Stream and input Stream. So it can read from files and
write to files.
Operations in File Handling:
Creating a file: open()
Reading data: read()
Writing new data: write()
Closing a file: close()
SPECIAL OPERATIONS IN A FILE
There are few important functions to be used with file streams
like:
8. Page8
tellp() - It tells the current position of the put pointer.
Syntax: filepointer.tellp()
tellg() - It tells the current position of the get pointer.
Syntax: filepointer.tellg()
seekp() - It moves the put pointer to mentioned location.
Syntax: filepointer.seekp(no of bytes,reference mode)
seekg() - It moves get pointer(input) to a specified location.
Syntax: filepointer.seekg((no of bytes,reference point)
put() - It writes a single character to file.
get() - It reads a single character from file.
Header files included
#include<graphics.h> C graphics using
graphics.h functions can be used to draw
different shapes, display text in different fonts,
change colors and many more.
#include<stdlib.h> Perform standard utility
functions like dynamic memory allocation.
#include<ctype.h> header file of the C
Standard Library declares several functions
that are useful for testing and mapping
characters.
#include<dos.h> header file of C language
contains functions for handling interrupts,
producing sound, date and time functions etc.
#include<time.h> The time.h header defines
9. Page9
four variable types, two macro and various functions for manipulating date
and time.
#include<stdio.h> the header file for standard input and output.
#include<conio.h> Perform console input and console output operations like
clrscr() to clear the screen and getch() to get the character from the keyboard.
#include<iostream.h> Used as a stream of Input and Output.
#include<fstream.h> Contains function prototypes for functions that perform
input from files on disk and output to files on disk.
SOURCE CODE
#include<graphics.h>
#include<stdlib.h>
#include<ctype.h>
#include<dos.h>
#include<time.h>
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
#include<fstream.h>
#define RIGHT0
#define LEFT1
#define UP2
#define DOWN 3
char name[30];
voidinitialise(void);
char endscreen(void);
voidstartscreen(void);
voidmusic(int);
18. Page18
/*if all 3 livesof the eaterare lost*/
if(liveslost==3)
break;
/*place a space inthe positioncurrentlyoccupedbythe eater*/
writechar('',row,col,1);
/*update the positionof the eater*/
key=testkeys();
/*if invalidkeypressed*/
if(key==0)
{
/*write backeaterinitsorignal position*/
writechar(1,row,col,14);
}
else
{
/*readcharacter at the positionwhixhthe eateristooccupy */
readchar(row,col,&ch);
/*if character read istibit,incrementscore andsoundmusic*/
if(ch==250)
{
score++;
music(3);
}
if(ch==2)
killeater();
/*if character read isbug , kill the eater*/
if(liveslost==3)
break;
/*printthe latestscore*/
gotoxy(2,24);
printf("points:%3d",score);
/*if all the tibitsare eatenup*/
if(score>=692)
{
/*erase the lasttibit*/
writechar('',row,col,1);
break;
}
}
}
}
/*movesthe bugsaroubnduntil a keyishit*/
voidgetkeyhit()
{
unionREGS i,o;
intcount;
/*unti a playerhitsa key,move eachbug inturn*/
while(!kbhit())
{
/*introduce delay*/
delay(delayfactor);
bug(&r[bugnumber],&c[bugnumber],&dir[bugnumber],&charbelow[bugnumber]);
19. Page19
/*if all 3 livesof the eater are lost*/
if (liveslost==3)
return;
/*goto nextbug*/
bugnumber++;
/*start withthe firstbug if allfive bugs have beenmoved*/
if(bugnumber==4)
bugnumber=0;
}
/*issue interrupttoreadthe ascii code and scan code od the kay
pressed*/
i.h.ah=0;/*store service no*/
int86(22,&i,&o);/*issueinterrupt*/
ascii=o.h.al;
scan=o.h.ah;
}
/*reportswhichkeyhasbenhit*/
inttestkeys(void)
{
switch(scan)
{
case 72:/*up arrow*/
/*if path is notpresentinthe specifieddirection*/
if(maze[row-1][col]==1)
return(0);
/*update rowof eater*/
row--;
break;
case 80:/*downarrow*/
if(maze[row+1][col]==1)
return(0);
row++;
break;
case 77:/*right arrow*/
if(maze[row][col+1]==1)
return(0);
col++;
break;
case 75:/*leftarrow*/
if(maze[row][col-1]==1)
return(0);
col--;
break;
case 1:/*esckey*/
exit(0);/*terminatethe programm*/
default:
return(0);
}
20. Page20
}
/*readsthe character presenntatthe rowr and volumncintoch*/
voidreadchar(intr,intc,unsignedchar*ch)
{
char far *v;
/*calculate addresss*/
v=vid_mem+(r*160) +c*2;
*ch=*v;
}
/*movesthe specefybuginthe appropriate direction*/
voidbug(int*r,int*c,int*dir,unsignedchar*ch)
{
inttrials=1,flag=0;
char temp;
/*selectavaliddirectionwhichtakesthe bugclosertoeater
in eachif statementthe 1st conditioncheckswhetherthe movementin
that directionwouldmove the bugclosertothe eater, whereasthe 2nd
conditionchecksif the maze permitsamovementinthatdirection*/
if(abs(*r-1-row)<abs(*r-row)&&maze[*r-1][*c]!=1)
*dir=UP;
else
if(abs(*r+1-row)<abs(*r-row)&&maze[*r+1][*c]!=1)
*dir=DOWN;
else
if(abs(*c+1-col)<abs(*c-col)&&maze[*r][*c+1]!=1)
*dir=RIGHT;
else
if(abs(*c-1-col)<abs(*c-col)&&maze[*r][*c-1]!=1)
*dir=LEFT;
/*checkwhetherthe directionchosencontainsanotherbug,if so find
an
alternate direction*/
while(1)
{
switch(*dir)
{
case RIGHT:
/*if there isa pathto right of bug*/
if(maze[*r][*c+1]!=1)
{
/* readthe character to the right of the bug*/
readchar(*r,*c+1,&temp);
if(temp==2)
{
/*if the character is againa bug findalternate direction*/
if(maze[*r][*c-1]!=1)
*dir=LEFT;
else
{
/*if patch existstothe top of the bug*/
if (maze[*r-1][*c]!=1)
*dir=UP;
21. Page21
else
{
/*if path existbelow the bug*/
if(maze[*r+1][*c]!=1)
*dir=DOWN;
}
}
}
else
{
/*if there isno bugto the right of the bugbeing
considered,move the bugright*/
movebugright(r,c,ch);
flag=1;
}
}
else
{
/*since there isnopat in the RIGHT directio,
try anotherpath*/
*dir=random(4);
}
break;
case LEFT:
/*if there isa pathto the LEFT of the bug*/
if(maze[*r][*c-1]!=1)
{
/*readthe character to the ;eftof the bug*/
readchar(*r,*c-1,&temp);
if(temp==2)
{
if(maze[*r][*c+1]!=1)
*dir=RIGHT;
else
{
if(maze[*r-1][*c]!=1)
*dir=UP;
else
{
if(maze[*r+1][*c]!=1)
*dir=DOWN;
}
}
}
else
{
movebugleft(r,c,ch);
flag=1;
}