Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Pratik JPR

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

Matoshri EducationSociety’s

MATOSHRIINSTITUTEOFTECHNOLOGY
A/P:Dhanore,Tal-Yeola,Dist.-Nasik,423401

Micro Project Report


Academicyear:2023-24

Title of Project
Snake Water Gun

Name of Student : Jadhav Pratik Balsaheb


Class : S.Y.CO

Semester : Forth
RollNo 29
:
Enrollment No: 2211710069
SeatNo : 475249

Program : Computer Engineering


Course :JPR
Coursecode : 22412
Name of Teacher: Mr. Bhujbal H.D.

PAGE1
Matoshri EducationSociety’s
MATOSHRIINSTITUTEOFTECHNOLOGY
A/P:Dhanore,Tal-Yeola, Dist.-Nasik,423401

CERTIFICATE
This is to certify that Mr./Ms Jadhav Pratik Balsaheb
Roll no 29 Of Forth semester of Diploma in
Computer Engineering has successfully
completed the for the Academic yeear 2023 -2024
as prescribed MSBTE Micro Project in Snake Water
Gun Curriculum under the guidance of
subject teacher.

Place:Yeola Enrollment No:2211710069

Date: Seat No :475249

Subject Teacher HOD Principal


Mr. Ghorpde M.S. Mr. Gujrathi G.S.
Mr.: Bhujbal H,D.
.
Micro Project Report Index

Academic Year-2023-24 Program Computer Engineering


Class:- SYCO Course: JPR
Course Code: 22412 Roll No : 29
Enrollment No:2211710069 ExamSeatNo:475249

Title of Micro Project:-Snake Water Gun

Sr. No. Contents PageNo.


1 Abstact 1
2 Introduction 2

3 Code 3

4 Output 6

5 Conclusion 7

6 References 8

Signature of Student Signature of Faculty


Jadhav Pratik Balsaheb Mr.: Bhujbal H.D.
.
ANNEXUREI
Rubric for Evaluation of Micro Project

Academic Year- 2023-24 Program Computer Engineering


Class:- SYCO Course: JPR
CourseCode:22412 Roll No: 29
Enrollment No:2211710069 ExamSeatNo:475249

Title of Micro Project: Snake Water Gun

Group Members:

Sr.No. Roll No. Name of Candidates


1 28 Ahere Manoj Anil
2 29 Jadhav Pratik Babasaheb
3 30 Labade Kartik Raju
CO coverage:

IndicatorsfordifferentleveleofPerformance
Marks
(EvaluationScale0to2)
Sr.No Criteria Obtained(
Out of 2) Poor(0) Average(1) Good (2)

Submission of NotSubmitted proposal or project Projectproposal&


1 Project anything in reportsubmittedin project report
proposal/Report time time submitted ij time
CO/PRO NotattainedanyC Attainedsome Attained
2 Attainment O/PRO CO/PRO Maximum
Contains
Content of Notcontains
Containssomerelevant maximum
3 project/Formatti relevant
information relevant
ng information information
TotalMarks
4
(06)
Question/
5
Answers(04)
Total(10):

AdditionalComments(if any):
NameofTeacher&Sign

Mr.: Bhujbal H.D.


Micro Project Proposal Academic Year- 2022-23
Program: Computer Engineering
Class:- SYCO Course :JPR
Course Code: 22412 Roll No:29
Enrollment No : 2011710070 ExamSeatNo:475249

Title of Micro Project ::Snake Water Gun

GroupMembers:
Srno Rollno Name Of Candidates

1 29 Aher eManoj Anil


2 29 Jadhav Pratik Babasaheb
3 29 Jadhav Pratik Balsheb

Content/Key Points:
Understanding concets of organization

Stationary/Material Required( ifany):


Internet Source

References:

http://www.org/binarytogrrayconvertor
Micro Project Log Book

Semester :Forth Program: Computer Engineering


Course: JPR Class: S.Y.CO

Topic of the Micro-Project:-Snake Water Gun

Sr.No. Roll No. NameofGroupMembers Sign


1 29 Ahere Manoj Anil
2 29 Jadhav Pratik Babasaheb
3 29 Labade Kartik Raju

Week Discussion&Details Teacher’s Teacher’s


No. Comment Sign
1 GeneralDiscussionaboutmicroprojectactivity.
2 Guidelinesformicroproject
3 Discussion on different industry/application/study
oriented topics
4 Groupmembrarefinalized andthetopicis decided, as

5 Workdistri
butiontocollectthe information regarding topic by each
member.
6 Gatheredinformationthroughthevarioussources,such as
internet, book, magazine, joutrnar and newspaper
7 Discussedthedifficultyfacedduringthecollectionof
necessary information among the group member.
8 Discussionwiththeguidetosortoutdifferentlyfaced while
collecting the information.
9 Preparedaroughdraft&shownittotheguide.

10 Necessaryinstructionsaregivenbytheguideforits better
PreJPRtation & Finalized project.
11 PreJPRtationisgiven on the topic,Report ispreparedonthe
topics & final submission of micro project and
Report

Name& Signature of project Guide

Mr. : Bhujbal H,D. Name& Signature of HOD


Mr.Ghorpade M.S
Abstact

 Snake vs. Water: Snake drinks the water hence wins.


 Water vs. Gun: The gun will drown in water, hence a point for waterGun vs.
Snake: Gun will kill the snake and win.
 In situations where both players choose the same object, the result will be a
draw.
 You have to use a random choice function that we studied in tutorial #38, to
select between, snake, water, and gun.You do not have to use a print statement
in case of the above function.
 Then you have to give input from your side.
 After getting ten consecutive inputs, the computer will show the result based on
each iteration.
 You have to use loops(while loop is preferred).

I
Introduction

The game "Snake, Water, Gun" is an abstraction of the classic game "Rock,
Paper, Scissors." In this version, snake beats water (by drinking it), water
beats fire (by extinguishing it), and fire beats snake (by burning it). It's a fun
twist on the original concept.

Snake, Water, Gun" is a simple hand game typically played by two


people.
Each player simultaneously selects one of three options: snake
(represented by a closed fist), water (represented by an open hand), or gun
(represented by a hand in the shape of a gun).
The outcome is determined by the interaction between the chosen
items: snake gets drowned by water, water gets destroyed by gun, and gun
gets bitten by snake. It's a game of chance and quick thinking, often used as
a fun way to make decisions or resolve minor disputes.
Program for Snake Water Gun

import java. util. Random;


import java. util. Scanner;

public class Snake Water Gun {

public static void main(String[] args) {


Scanner scanner = new Scanner(System.in);
Random random = new Random();

int user Score = 0;


int computer Score = 0;
int rounds = 0;

while (rounds < 5) {


System .out. println ("Enter your choice - Snake, Water, or Gun:");
String user Choice = scanner. next ().to Lower Case();

if (!user Choice. equals("snake") && !user Choice. equals("water") && !


user Choice. equals("gun")) {
System .out .println ("Invalid choice! Please enter Snake, Water, or
Gun.");
continue;
}

int computer Choice Index = random. NextInt (3);


String[] choices = {"snake", "water", "gun"};
String computer Choice = choices [computerChoiceIndex];

System.out.println ("Computer's choice: " + computer Choice);

if (user Choice. Equals(computer Choice)) {


System. out. println("It's a tie!");
} else if ((user Choice. equals("snake") && computer Choice.
equals("water")) ||
(user Choice. equals("water") && computer Choice. equals("gun"))
||
(user Choice. equals("gun") && computer Choice. equals("snake")))
{
System.out. println("You win this round!");
User Score++;
} else {
System. out. Println ("Computer wins this round!");
Computer Score++;
}

rounds++;
}

System. out. println("Game Over!");

System. out. println("Your Score: " + user Score);


System. out. println("Computer's Score: " + computer Score);

if (user Score > computer Score) {


System.out. println("Congratulations! You win the game!");
} else if (user Score < computer Score) {
System.out.println("Oops! Computer wins the game!");
} else {
System.out.println("It's a tie!");
}

scanner. close();
}
}

 .
Output
InternationalJournalofSecurityandIts Applications
Vol.10,No.2(2016)

Conclusion

"Snake, Water, Gun" is a playful and easy-to-understand game that offers a


quick and entertaining way to make decisions or settle small disagreements.
With its simple rules and unpredictable outcomes, it's a game that can
be enjoyed by people of all ages.
Whether played casually or competitively, it fosters camaraderie and
fun moments among participants. So next time you're looking for a light-
hearted activity, consider playing a round of Snake, Water, Gun!

Snake, Water, Gun" is a game of chance typically played by two people,


although it can accommodate more players. Each participant
simultaneously selects one of three options: snake (a closed fist), water
(an open hand), or gun (a hand in the shape of a gun).
The outcome is determined by the interaction between the chosen
items: snake defeats water (by drinking it), water defeats fire (by
extinguishing it), and fire defeats gun (by melting it). The game is often
used as a decision-making tool or a playful way to resolve minor disputes

Copyrightⓒ2016SERSC 14
InternationalJournalofSecurityandIts Applications
Vol.10,No.2(2016)

Reference

https://www.codewithharry.com/videos/python-tutorials-for-absolute-
beginners-40/

https://www.who.int/docs/default-source/searo/india/health-topic-
pdf/who-guidance-on-management-of-snakebites.pdf?sfvrsn=5529d0cf_2

https://www.google.com/search?
sca_esv=b7834c396069f319&q=Snake+water+gun+in+java+introduction+
pdf&sa=X&ved=2ahUKEwj2zo37h5SFAxUIslYBHdzlDWQQ1QJ6BAhAEA
E&biw=1366&bih=645&dpr=1#ip=1

https://www.instructables.com/Snake-Water-Gun/

Copyrightⓒ2016SERSC 15

You might also like