You are on page 1of 16

VISVESVARAYA TECHNOLOGICAL UNIVERSITY,

BELAGAVI, KARNATAKA, INDIA

lN NITTE EDUCATION TRUST


NITTE MEENAKSHI INSTITUTE

OF TECHNOLOGY

An Autonomous Institution with A' Grade UGC by NAAC UGC, Approved by UGC, AICTE,
Government of Karnataka, Yelahanka, Bengaluru-560064, Karnatka, India.

Report On

BRAIN DECODING"

A mini project report submitted in partial fulfillment of the requirement for the
First year of

BACHELOR OF ENGINEERING
In

ELECTRONICS AND COMMUNICATION ENGINEERING


2022-2023

Submitted By

Team members: SURANJAN KH- INT22EC170


SHRIRAM K RATHOD - INT22EC158
NR SHREYAS - INT22EC098
NIKHIL M- INT22EC105

Under the Guidance of

Dr. Harsha Karamchandani


Asst,Professor
Dept. of Electronics and Communication Engincering
Nitte Meenakshi Institute of Technology

1|Page
Yelahanka, Bangalore-560064

NITTE MEENAKSHI INSTITUTE


N)NITTE
EDUCATION TRUST OF TECHNOLOGY

An Autonomous Institution with A+ Grade UGCby NAAC UGC, Approved by UGC, AlCTE,
Government of Karnataka, Yelahanka, Bengaluru-560064, Karnatka, India.

Department of Electronics and Communication Engineering

Certificate
This is to certify that SURANJAN K H(INT22EC170), NIKHILL M(INT22 EC105),
SHRIRAM K RATHOD(INT22EC158), NR SHREYAS(1NT22EC098) has submitted
the mini project report entitled "BRAIN DECODING" in fulfillment of First year of
Bachelor of Engineering in Electronics and Communication Engineering from
Visvesvaraya Technological University, Belagavi during the year 2022-2023. It is certified
that all the corrections and suggestions indicated for internal assessment have been
incorporated in the report. The report has been approved as it satisfies the academic
requirements in respect of work prescribed for the aforesaid degree.

Dr.Harsha Karamchandani Dr. Ramachandra AC Dr. H.Nagaraj


Guide HOD
Principal

2|Page
Acknowledgement

from
It is my proud privilege and duty to acknowledge the kind help and guidance received
several people in the preparation of this report. It would not have been possible to prepare
this report in this form without valuable suggestions, cooperation, and guidance.

Iwish to record my sincere gratitude to Management, and Dr. H. C. Nagaraj, Principal, Nitte
Meenakshi Institute of Technology, Bengaluru for the permission provided to accomplish this
project.

My sincere thanks to Dr. Ramachandra A, C. Professor and Head, Department of

Electronics and Communication Engineering for his valuable suggestions and guidance.
My sincere gratitude to Dr. Rajesh N, Dr. Sunil S. Harakannanavar and Dr.
Thimmaraja Yadava G, Coordinators, Department of Electronics and Communication
Engineering, for their valuable suggestions in preparing this report.

Me and my team express my sincere gratitude to our beloved guide, Dr.Harsha


Karamchandani, Assistant professor, Department of Electronics and Communication and
Engineering for his/her support and guidance.
I am extremely great full to faculty members of Department of Electronics and
Communication Engineering, and friends for their support and encouragement in successful
completion of this project.

Team Members: SURANJAN K H(INT22 EC170)


SHRIRAM K RATHOD(INT22EC158)
NR SHREYAS(INT22ECO98)
NIKHILL M(INT22EC105)

3|Page
Contents
TOPIC PAGE NUMBERS

Introduction 5

Working Code 6-9

Output 10

Conclusion

4|Page
INTRODUCTION

This Python mini project presents an intriguing game designed to


engage users in series of number manipulations and challenges.

The game starts by welcoming users with beautifully styled text,


creating an inviting atmosphere. It proceeds to introduce players to
various levels, each involving mathematical puzzles and interactive
prompts. The game concept revolves around summing up numbers
and deciphering the correct digit to progress. Users are prompted to
enter numbers, leading to exciting calculations and

unexpected twists.
Step into a world of mystery and numbers with this Python mini
project that offers an engaging and immersive gaming experience.
From the moment users encounter the stylishly formatted welcome
message, they are transported into a realm of mathematical
challenges and intriguing twists. The narrative unfolds across
different levels, each requiring players to utilize their arithmetic
skills and intuition.

The game's distinctive formatting and interactive nature make it a


standout project. With each level, players decipher numerical
patterns and make calculated decisions, resulting in a satisfying
blend of logic and entertainment. As players progress through the
game's mysterious journey, they'll find themselves captivated by its
enigmatic charm and unique presentation.

5|Page
PRESENTATION SLIDES
BRAIN
DE G

DO YOU KNOW ? O
NOW A CODECAN ALSODECODE THE HUMAN MIND
O This Python mini project presents an
users engage in calculations to revealinteractive numberbased game where
their secret digit. Through a sequence
of steps, users decipher a meaningful result that
chosen numbers. The program incorporates corresponds to their
making itacaptivating and engaging experience mathematical challenges,

6|Page
LET'S SEEHOW IT WORKS
Frst User should pick o sectet number from the
set of numbers

Next they should enter the remaining number


To the game ín ony of the order they want

Now this is tirme for Code it wi decode


The secret numberwhich is picked by
USer

WORKINGCODE
print("ow the game begins G")
input()
print("STE? 4: Sck a secret dlgit froa the result ")
input()
print("STE 5: Ezter tze lezgth of the result except the secret diit \n)
l=int(input ())
print()
print("STE 6: Enter the reraining digits in any order except the secret digit ene after the other \n")
print ("ess ETER 2fter ezterizg each digit")

s2=0
for i in range(l)
a=int(ínput ())
x,append (a)
print()
$=Sum(x)
for 1 in str(s):
sl=s1tint (i)

7| Page
f s1>9:
for k in str(sl):
s2=s2+int (k)
if($2c9):
r9-s2
print ("Your secret dtgtt is:",r,"O")
input()
elif(s2=n9):
print ("Your secret digit is O\nAa l ight ? ")
print(" | - - | )
print(| 1. YES
print("|-
print("| 2. NO )
print ("|
y=int (input () )
if ye=l:
input ()
else:
print ("Yonr secret digit is 1 ")
input ()

elif(sl9):
r=9-s1
print ("Your secret digit Is:",r,"")
input()
else:
print ("Is your secret diglt multiple of 3 ?")
print("|-|")
print(l 1, YES |')
print(|-----|)
print( 2. NO
prìnt( l-- )
oint (input ())
if(0-=1):
print ("Your secret dlglt ts 9 ")
input()
else:
print ("ls your secret dlglt less than 19 ")
print('-|)
print( |1, YESP)
print("|
print(| 2. NO
print(

8|Page
ol=int (input ())
if ol==l:
print{'Your secret digit is 0 )
input()
else:
print('Your secret digit is 1 )
input ()

def calc(v):
z=1
while(z<=30) :
if((z+»3) -z-v) !=C):
Z+=1
else:
print ("Your three consecutive numbers are:")
print(z-l,z,z+1)
print()
break

print ("Do you want me to tell your coase cutive numbers ? ")
print("-- -|)
print('| 1. YES |')
print("
print(| 2. NO ")

print('|--|)
yl=int (input ())
print()
if(yl==1):
n=int (input ("Eater the product cf your first three consecutive numbers:"))
calc(n)
m=int(input ("Enter the product of other three consecutive numbers:"))
calc(m)
print ("Thank yon for playing the game ")
else:
print ("Thank you for playing the game ")

9|Page
Conclusion
Congratulations on conpleting "The Game: Brain Decoder"! Through this
captivating Python project, you've
mathematical dexterity. By delvingexercised yor critical
into thought -provokingthiking and
tasks and solving
intricate puzzles, you've expanded your cognitive
horizons

10|Page
FINDING THE SECREAT NUMBER
WORKING CODE
input()
print("STEP 5: Enter the lemgth of the result
except the secret digit \n")
I-int(input()
print()
digits in any
print( "STEP 6: Enter the remaining
after the
Order except the secret digit one
other \n")
each
print("Press 9ENTER 9 after emtering
digit")
sl=0
S2-0
for iin range(l):
a-int(input))
X.append(a)
print()
s=sum(x)
forj in str(s):
sl=s1+int(i)
ifs1>9:
for k in str(sl):
$2=s2+int(k)
if(s2<9):
rr9-s2
")
print("Your secret digit is:"r,
input()
elif(s2--9):

11| Page
age
P
|
12
3?") ")
) 1than
3 of
rignt
multiple
1") 0") less
I
0\nAm 9
is is:",) is digit
digit
digit dligit
is
digit secret
digit secret
secret secret
) print('---)
) print(|---)
print(|------)
secret
print(|----) your|) |)
print(|----..)
print(|-----) print(|------)
print(|------)
secret
YES print("Your print(|----)
) ) print("Your YES NO
NO y=int(input() your YES NO o-int(input()
YOur1. 2. input() input() print("Your
ify==1: input() 1. 2.
print("Is
print('|print(| elif(s1<9): 1. 2.
print("Is if(o==1): print(| print(|
else: r=9-s1input() print('|print(|
print(" else:
else:
ATITUTE OF

ol=int(input()
ifol==1:
print(Your secret digit is 0 D)
input()
else:
print(Your secret digit is 1 D)
input()
def calc(v):
z=l
while(z<=30):
if(z**3)-z-v)!-0):
Z+=1
else:
print("Your three comsecutive numbers
are:")
print(z-1,2z,z+1l)
print()
break

13 |Page
nD TECHNO

FINDING THE THREE CONSICUTIVE NUMBEK


WORKING CODE
print("Do you want me to tell your comsecu tive
numbers ?")
print(-------)
print("| 1. YES ')
print(|-------)
print(| 2. NO )
print(|-------)
yl=int(input()
print()
if(yl==1):
n¬int(input("Emter the product of your first
three consecutive mumbers:"))
calc(n)
m=int(input("Enter the product of other three
consecutive mumbers:")
calc(m)
print("Thank you for playing the game")
else:
print("Thank you for playimg the game ")

14|Pa ge
OT TECH

OUTPUT
WELOME TO THE GAME
BAI DE ODERO
ress EKTER9 to continue after
each step
Grab your calculator for the calculations
STE 1: Think of any three positive.conseruetve numbere and multipy therm tog
Eg:10,11,12
Fememter the product

STE? 2: Think of any other three posttive.consecutitve rumbers and ultipy thero tozet
Remember the product
STE 3: Blow multiply the products together S

Row the game begins &


STEP 4: Pick a secret digit from the result

STE 5: Enter the lengta of the result except the secret digit

Do you want me to tell your consecutive numbers ?

1, YES

| 2. NO

consecutive numbers:990
Enter the product of your first three
Your tlhree consecntive m un m
lberS are:
9 10 11

consecutive mu mbers:6
Enter the product of other three
are:
Your three consecu tive mu mbers
1 23

Thank you for playing the game

digit one after the other


tm any order exCept the secret
STEP 6: Enter the remalning digits

ress ENTER after entering each digit


5

3?
Ls your secret digit multlple of
l. YES

2, NO

Your se cret digit is 9 O

15| Page
-mT|TEOFTEalore)

CONCLUSION

Decoder"!
Congratulations on completing "The Game: Brain your
Through this captivating Python project, you've exercised
delving into
critical thinking and mathematical dexterity. Bypuzzles, you've
thought-provoking tasks and solving intricate challenge was
expanded your cognitive horizons. Remember, everyproblem-solving
designed to stimulate your mind and push your
take pride in the
Skills. As you reflect on your journey, you can keep learning,
exploring,
mental acumen you've demonstrated. Keep
mastering complex problems.
and contÉnue enjoying the thrill of inteleet
testament to your
Your accomplishments in this game are a
and perseverance. Welldone!

16|Page

You might also like