Coder Social home page Coder Social logo

tigransarkisian / tictactoe Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ericmaxwell2003/tictactoe

0.0 1.0 0.0 113 KB

A simple tic tac toe app, to illustrate the use of MVC, MVP, and MVVM architectures to organize the application.

Home Page: https://news.realm.io/news/eric-maxwell-mvc-mvp-and-mvvm-on-android/

Java 100.00%

tictactoe's Introduction

ticTacToe

A simple tic tac toe app, to illustrate the use of MVC, MVP, and MVVM architectures to organize the application.

The master branch contains just the model - The brains & state of the tic tac toe game.

Other branches contain the model, plus a User Interface following:

  • mvc - Is an example of using Model View Controller to model the UI / Model Interaction.
  • mvp - Example of Model View Presenter
  • mvvm - Example of Model View ViewModel with Databinding

Notes

  • This project is the companion project to a post I authored at https://news.realm.io/news/eric-maxwell-mvc-mvp-and-mvvm-on-android/.

  • It is intended to be a reference to show the concepts of MVC, MVVM, and MVP on Android.

  • This post and project was created before the GoogleIO 2017 announcment of Android ViewModels and the Android Architecture Components, which changes the way we think about ViewModels in the Android Lifecycle.

  • Finally, there are several additional things I would do to these example if I were releasing this Tic Tac Toe app to production, including providing a landscape UI and handling rotation, an app icon, more tests, etc. My goal in this project is to illustrate the concepts of MVC, MVP and MVVM in a simple consice manner.

I hope this project/post is useful to you! Thank you for reading.

Eric

tictactoe's People

Contributors

ericmaxwell2003 avatar

Watchers

James Cloos 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.