0% found this document useful (0 votes)
38 views47 pages

Sodapdf

Uploaded by

xmoinu2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views47 pages

Sodapdf

Uploaded by

xmoinu2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 47

INTERNSHIP REPORT

MOINUDHEEN MA
Regd. No.: ATAVBCA022
Under Supervision of Mr. Shijo
Riss Technologies pvt.Ltd,

(2021 - 2024)
ACKNOWLEDGEMENT

First I would like to thank Mr


.Shijo,Riss Technologies,Thris
sur for giving me the opport
unity
to do an internship within the
organization.

I also would like all the peo


ple that worked along with m
e Riss Technologies ,Thrissur
with
their patience and openness
they created an enjoyable wo
rkingenvironment.

I would like to thank my


Head of the Department Ms
Raji Bharathan for her constr
uctive
criticism throughout my inter
nship and I am extremely
great full to my department
staff
members and friends who he
lped me in successful compl
etion of this internship.

Moinudheen MA
(ATAVBCA022)
ABSTRACT

Encapsulates the
essence of an An
droid Tic-Tac-Toe
game project, det
ailing its objective
s,
features, and outc
omes. The project
aims to develop
a user-friendly an
d aesthetically
pleasing mobile g
ame, employing J
ava and Android
Studio for implem
entation. The prim
ary
focus lies in creati
ng an engaging g
aming experience,
with emphasis on
intuitive touch
controls and visua
lly appealing grap
hics. The project i
ncorporates algorit
hmic logic for ga
me
mechanics, ensuri
ng a balanced an
d competitive gam
eplay. Through thi
s endeavor, the g
oal
is to contribute to
the Android gamin
g ecosystem by d
elivering a well-
crafted Tic-Tac-
Toe
application that co
mbines classic ga
meplay with mode
rn design principle
s, offering users a
n
enjoyable and inte
ractive experience
on their mobile de
vices.
Organisation Info
rmation:
Riss Technologies
is a professionally
managed company
with years of ind
ustry experience
indeveloping and
delivering Enterpri
se specific Softw
are and Web de
velopment solution
s
using latest tech
nologies. Quality
is the buzz wor
d in today's wor
ld without which
no
organization can s
urvive. Along with
quality we at Tec
hnologies. "Think
Beyond" to take o
ne
step ahead and f
ocus on Delivery
of the solutions.
We design proces
ses that focus not
just
only on quality b
ut also on deliver
y which increases
the value to our
global clients. Apa
rt
from training our
employees on la
test technologies,
we also empow
er them to deliv
er
exciting solutions t
o our clients. At t
he core Technolo
gies operates in t
hree specific dom
ains
namely Software
Development, Web
site Design & Dev
elopment and Geo
graphic Informatio
n
Services. We als
o offer our servi
ces in building
E-Commerce solu
tions, Search En
gine
Optimization (SEO
) and Database A
dministration servi
ces. Under each
division we further

provide specific in
dustry solutions o
n focused domain
s with cutting edg
e technologies. W
e
emphasize on buil
ding relationships
with our clients by
delivering projects
on time and withi
n
budget.

Programs and op
portunities:
This ground up a
pproach helps us
deliver not only th
e solution to our
clients but also a
dd
value to At the c
ore Riss Technolo
gies operates in t
hree specific dom
ains namely Softw
are
Development, We
bsite Design &
Development and
Geographic Infor
mation Services.
We
also offer our ser
vices in building
E-Commerce soluti
ons, Search Engin
e Optimization (S
EO)
and Database A
dministration servi
ces. Under each
division we furth
er provide specifi
c
industry solutions
on focused dom
ains with cutting
edge technologies.
We emphasize o
n
building relationshi
ps with our clients
by delivering proj
ects on time and
within budget and
quality products.
Methodologies:
We follow a struct
ured methodology
for our projects w
hich starts from d
esigning the soluti
on
to the implementat
ion phase. Well pl
anned Project red
uces the time to
deliver the project
and any addition
al ad-hoc costs
to our clients, h
ence we dedicat
e majority of ou
r time
understanding our
clients business a
nd gather require
ments. This groun
d up approach he
lps
us deliver not onl
y the solution to
our clients but als
o add value to yo
ur investments
Key parts of the
report:
Under each divisio
n we further provi
de specific industr
y solutions on foc
used domains wit
h
cutting edge techn
ologies.
Benefits of the C
ompany/
Institution throug
h our report:Und
er each division w
emphasize
on delivering qua
lity products withi
n budget while
maintaining health
y relationships wi
th
clients.
INDEX

1.1Modules……
…………………
…………………
…………………
………….2

2.Analysis……
…………………
…………………
…………………
…………...3
3.Software req
uirements speci
fications ………
…………………
…………...4

4.Technology…
…………………
…………………
…………………
…..………5
4.1 Android…
…………………
…………………
…………………
…………….5
4.2 Xml
…………………
…………………
…………………
………………….
.6
4.3 Java……
…………………
…………………
…………………
……………..7
Learning Objectives/Internship Objectives:

Internships are generally thought of to be res


erved for college students looking to gain
experience in a particular field. However, a w
ide array of people can benefit from
Training Internships in order to receive real
world experience and develop .their skills.
An objective for this position should emphasiz
e the skills you already possess in the area
and your interest in learning more Internships a
re utilized in a number of different career
fields, including architecture,engineering, healthc
are, economics, advertising and many
more.Some internship is used to allow individuals
to perform scientific research while others
are specifically designed to allow people to gain
first-hand experience working.

Utilizing internships is a great way to build


your resume and develop skills that can be
emphasized in your resume for future jobs. Whe
n you are applying for a Training Internship,
make sure to highlight any special skills or talen
ts that can make you stand apart from the
rest of the applicants so that you have an impro
ved chance of landing the position.
WEEKLY OVERVIEW OF INTERNSHIP ACTIVITIES
INTRODUCTION

In the ever-evolving
landscape of mobile
applications, the
Android Tic-Tac-Toe
project emerges as
a testament to both
nostalgia and innovat
ion. This ambitious e
ndeavor seeks to
breathe new life in
to the timeless ga
me of Tic-Tac-Toe,
harnessing the capa
bilities of the Androi
d platform. Through
the meticulous integ
ration of Java prog
ramming and the
Android Studio dev
elopment environme
nt, our aim is to
deliver not just a
game but an imme
rsive and engaging
experience for users
across diverse Andro
id devices.
The rationale behin
d choosing Tic-Tac-
Toe as the focal
point of our project l
ies in its universal a
ppeal. This classic
game, often etched
in childhood memo
ries, provides a
familiar yet exciting
canvas for exploratio
n. By bringing it to
the Android ecosyste
m, we aim to bridge
the gap between
tradition and techno
logy, offering users
a blend of the
nostalgic and the c
ontemporary.This An
droid Tic-Tac-Toe
project is not mere
ly a standalone ga
me; it represents a
contribution to the d
ynamic Android gami
ng landscape. By
combining a classic
game with modern t
echnology, we aim
to demonstrate the p
otential for innovatio
n within seemingly
simple concepts. Thi
s project serves as
an inspiration for
developers to explo
re creative avenues
in reviving and
reimagining timeless
games for contempor
ary audiences.

1
• Implements animations for smooth transitions between game states.

• Evaluates the game state after each move to determine a winner or draw etc.

Player Input :

• Validates and processes player moves within the constraints of the game rule

2
SYSTEM ANALYSIS

Android has become a


powerhouse in the gami
ng industry, offering a di
verse array of
games that cater to a bro
ad spectrum of audiences.
From casual and mobile-
friendly titles to
high-end, graphically inte
nsive experiences, game
s made using the Andr
oid platform
showcase the versatility a
nd innovation within the g
aming ecosystem. In this
comprehensive
exploration, we’ll delve int
o the key aspects of gam
es developed for Android,
including the
development process, pop
ular genres like Tic Tac T
oe, also known as Nought
s and Crosses
or Xs and Os, is a classi
c two-player strategy gam
e often played on paper

Proposed System:
Android holds immense
promise and potential, d
riven by technological a
dvancements,
evolving user expectations,
and the continued growth
of the mobile gaming indu
stry. In this
exploration, we’ll delve int
o key aspects that define
the trajectory of future An
droid games,
including advancements in
technology, innovative ga
meplay experiences, emer
ging trends,
potential challenges, and
the overall impact on t
he gaming landscape.Thi
s project is a
digital adaptation of the cl
assic Tic Tac Toe game
designed to run on Androi
d devices. This
simple yet engaging game
leverages the capabilities
of Android smartphones a
nd tablets to
provide a convenient and
interactive gaming experie
nce. Below, I’ll cover key
aspects of a
typical Tic Tac Toe game
on Android.

3
3.

3.1 Syst
em conf
iguration
s

The soft
ware req
uirement
specificati
on can p
roduce a
t the cul
mination
of the a
nalysis t
ask.
The fun
ction an
d perfor
mance a
llocated
to softw
are as
part of
system
engineeri
ng are
refined
by establ
ished a
complete
informati
on descr
iption, a
detailed f
unctional
descriptio
n, a
represent
ation of
system b
ehavior,
and indic
ation of
performa
nce and
design c
onstrain,
appropria
te validat
e criteria,
and oth
er inform
ation per
tinent to
requirem
ents.

Software
Requirem
ents:

Hardware
Require
ment:
4
TECHNOLOGY

4.1 ANDROID

Android is an
open-source operating
system designed for m
obile devices, including

smartphones and tabl


ets. Its open nature
allows manufacturers
to customize the OS
according to their ne
eds, fostering diversit
y in hardware and us
er experiences. Androi
d’s
flexibility and widespre
ad adoption contribute
to its dominance in th
e mobile market.

Android follows a lay


ered architecture with
four main component
s: the Linux Kernel,
Libraries, Application F
ramework, and Applicat
ions. The Linux Kernel
provides core system
functionality, while Libr
aries offer essential fu
nctions like graphics re
ndering and database
access. The Applicatio
n Framework simplifies
app development with
reusable components,
and Applications are th
e end-user programs.

Android applications ar
e developed using Jav
a or Kotlin programmin
g languages. Android
Studio, the official Int
egrated Development
Environment (IDE), fa
cilitates the creation
of
apps with features like
code completion, debu
gging tools, and an e
mulator for testing. Th
e
Android SDK (Softwar
e Development Kit) p
rovides essential librar
ies and tools for
developers.

Android applications ha
ve a user interface bui
lt using XML (Extensibl
e Markup Language)
for layout definitions a
nd Java/Kotlin for beh
avior. The UI can ada
pt to various screen si
zes
and orientations, prom
oting a consistent exp
erience across different
devices. Widgets and
layouts help in creatin
g responsive and visu
ally appealing interface
s.

Android has revolutioni


zed the mobile landsc
ape, offering a dynami
c platform for develope
rs
and a diverse array of
choices for users.

5
4.3 JAVA

Java’s integration into Android development dates back to the platform’s early stages.
Android applications are primarily developed using Java, thanks to its portability,
object-oriented nature, and extensive ecosystem of libraries and frameworks. Java’s “write
once, run anywhere” philosophy aligns seamlessly with the diverse range of Android devices

available in the market.

Android applications are built on the Android SDK (Software Development Kit), which relies
heavily on Java. Java source code is compiled into bytecode, which runs on the Java Virtu
al
Machine (JVM). This abstraction layer ensures that Android apps are not tied to a specific
hardware architecture, promoting compatibility across a myriad of devices.

Java brings a wealth of features to Android development, including object-oriented


programming (OOP), platform independence, strong type-checking, and a vast standard
library. These features contribute to the development of modular, scalable, and maintainable
Android applications.

Java is extensively used for designing the user interface (UI) of Android applications.

Activities, representing individual screens or windows, are implemented as Java classes.


XML layout files, defining the structure and appearance of UI elements, are often paired wit
h
Java code to handle user interactions and dynamic behavior.

7
5.CODING

XML

<?xml versio
n="1.0" enco
ding="utf-
8"?>

<androidx.co
nstraintlayo
ut.widget.Co
nstraintLayo
ut

xmlns:androi
d=""

xmlns:app=""

xmlns:tools=
""

android:layo
ut_width="ma
tch_parent"

android:layo
ut_height="m
atch_parent"

android:back
ground="@col
or/green"

tools:contex
t=".MainActi
vity">

<!--title te
xt-->

<TextView
android:id="
@+id/
textView"

android:layo
ut_width="wr
ap_content"

android:layo
ut_height="w
rap_content"

android:layo
ut_marginTop
="23dp"

android:text
="GFG Tic Ta
c Toe"
8
android:textSize="45sp"

android:textStyle="bold"

app:fontFamily="cursive"

app:layout_constraintLeft_t
oLeftOf="parent"

app:layout_constraintRight_
toRightOf="parent"

app:layout_constraintTop_to
TopOf="parent" />

<!--image of the grid-->

<ImageView

android:id="@+id/imageView"

android:layout_width="0dp"

android:layout_height="wrap
_content"

android:contentDescription=
"Start"

app:layout_constraintEnd_to
EndOf="parent"

app:layout_constraintStart_
toStartOf="parent"

app:layout_constraintTop_to
BottomOf="@+id/textView"

app:srcCompat="@drawable/
grid" />
9
<LinearLayout

android:id="@+id/
linearLayout"

android:layout_wi
dth="0dp"

android:layout_he
ight="420dp"

android:orientati
on="vertical"

app:layout_constr
aintBottom_toBott
omOf="@+id/
imageView"

app:layout_constr
aintEnd_toEndOf="
@+id/imageView"

app:layout_constr
aintStart_toStart
Of="@+id/
imageView"

app:layout_constr
aintTop_toTopOf="
@+id/imageView">

<LinearLayout

android:layout_wi
dth="match_parent
"

android:layout_he
ight="match_paren
t"
android:layout_we
ight="1"

android:orientati
on="horizontal">

<!--images of the
grid boxes-->

<ImageView

android:id="@+id/
imageView0"
10
<ImageView

android:id="@+
id/imageView4"

android:layout
_width="match_
parent"

android:layout
_height="match
_parent"

android:layout
_weight="1"

android:onClic
k="playerTap"

android:paddin
g="20sp"

android:tag="4
" />

<ImageView

android:id="@+
id/imageView5"

android:layout
_width="match_
parent"

android:layout
_height="match
_parent"

android:layout
_weight="1"
android:onClic
k="playerTap"

android:paddin
g="20sp"

android:tag="5
" />

</
LinearL 11
ayout>
android:layout_marginBottom="15sp"

android:text="Status"

android:textSize="28sp"

android:textStyle="italic"

app:layout_constraintBottom_toBottomOf
="parent"

app:layout_constraintEnd_toEndOf="pare
nt"

app:layout_constraintStart_toStartOf="
parent"

app:layout_constraintTop_toBottomOf="@
+id/linearLayout" />
</androidx.constraintlayout.widget.Con
straintLayout>

12
JAVA

import a
ndroid.o
s.Bundle
;

import a
ndroid.v
iew.View
;

import a
ndroid.w
idget.Im
ageView;

import a
ndroid.w
idget.Te
xtView;

import a
ndroidx.
appcompa
t.app.Ap
pCompatA
ctivity;

public c
lass Mai
nActivit
y extend
s AppCom
patActiv
ity {

boolean
gameActi
ve = tru
e;

// Playe
r repres
entation

// 0 - X

// 1 - O

int acti
vePlayer
= 0;

int[] ga
meState
= {2, 2,
2, 2, 2,
2, 2, 2,
2};

// State
meanings
:

// 0 - X
13
// 1 - O

// 2 - Null

// put all win positions in a 2D array

int[][] winPositions = {{0, 1, 2}, {3, 4, 5}, {6, 7, 8},

{0, 3, 6}, {1, 4, 7}, {2, 5, 8},

{0, 4, 8}, {2, 4, 6}};


J
public static int counter = 0;

// this function will be called every time a

// players tap in an empty box of the grid

public void playerTap(View view) {

ImageView img = (ImageView) view;

int tappedImage =
Integer.parseInt(img.getTag().toString());

// game reset function will be called

// if someone wins or the boxes are full

if (!gameActive) {

gameReset(view);

//Reset the counter


14
status.setText("Match Draw");

// reset the game

public void gameReset(View view)


{

gameActive = true;

activePlayer = 0;

//set all position to Null

Arrays.fill(gameState, 2);

// remove all the images from the


boxes inside the
grid

((ImageView)
findViewById(R.id.imageView0)).se
tImageResource(0);

((ImageView)
findViewById(R.id.imageView1)).se
tImageResource(0);

15
((ImageView)
findViewById(R.id.imageView2)).setImageResource(0);

((ImageView)
findViewById(R.id.imageView3)).setImageResource(0);

((ImageView)
findViewById(R.id.imageView4)).setImageResource(0);

((ImageView)
findViewById(R.id.imageView5)).setImageResource(0);
((ImageView)
findViewById(R.id.imageView6)).setImageResource(0);
23

((ImageView)
findViewById(R.id.imageView7)).setImageResource(0);

((ImageView)
findViewById(R.id.imageView8)).setImageResource(0);

TextView status = findViewById(R.id.status);

status.setText("X's Turn - Tap to play");

@Override

protected void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_main);

}
}
16
6.SCREENSHOTS

1)

2)

3)
25
7.CONCLUSION

the Android Tic-Tac-


Toe game offers a co
mpelling demonstration
of fundamental Androi
d
development concepts
and user interaction
principles. The proje
ct involves creating
a
user-friendly interface
with XML layouts, im
plementing game logi
c in Java or Kotlin,
and
handling user inputs e
fficiently.Throughout thi
s project, developers
gain valuable experien
ce
in creating interactive
and responsive Androi
d applications. The Tic
-Tac-Toe game serves
as
a stepping stone for l
earners to delve into
more complex Android
projects, building a str
ong
foundation for future a
pp development endea
vors. As developers pr
ogress, they can furth
er
refine and expand th
e game, exploring a
dditional features, opt
imizations, and desig
n
considerations to enha
nce their skills in Andr
oid development.

18
8.BIBLOGRAPHY

. “Android Programmi
ng: The Big Nerd
Ranch Guide” by
Bill Phillips

2. “Head First Android


Development” by Da
wn Griffiths and Davi
d Griffiths:

“Kotlin Programming:
3.
The Big Nerd Ranch
Guide” by Josh Ske
en;:

WEBLINKS:

ases, and best practice


s through official blog
posts.
19

You might also like