Giter Site home page Giter Site logo

tic-tac-toe-kotlin's Introduction

tic-tac-toe-kotlin

This is a basic tic-tac-toe application made in kotlin

This game was made as a project for #30daysofKotlin. The goal of tic-tac-toe is to be the first player to get three in a row on a 3-by-3 grid or four in a row in a 4-by-4 grid. Here the app allows the users to choose between two modes vs Computer vs Player

3 concepts of Kotlin

-Navigation (Intents)

-Activity: Lifecycle

-Layout manipulation and Animation

Project Implementation details

I have three activities :-

SplashScreenActivity - This screen uses LottieAnimationView to show the animating objects.Also, I have used ValueAnimator and created AnimatorSet for animations.

GameDetailsActivity - We have a RadioGroup to select between the two modes. (vs comp or vs player) The intent to the next screen carries the string name of the mode.

MainActivity - Game’s main logic. It gets the mode with intent. When the game ends, a dialog pops up to choose between new game/ restart game

Game Screenshots

tic-tac-toe-kotlin's People

Contributors

vansh1sh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.