Giter Site home page Giter Site logo

aschen / metakinator-api Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 833 KB

Metakinator is a game based on Akinator with multiple base of knowledge and decision trees(Rails part)

Ruby 76.81% CoffeeScript 1.38% JavaScript 1.08% CSS 3.97% HTML 16.77%
rails api-rest weka decision-trees

metakinator-api's Introduction

Metakinator

Metakinator is a game based on Akinator.
We took the main concept which is to guess characters relying on a set of question/answers.
In this version we have multiple knowledge base and you can import or export new one as you want.

This repository is about the API for the Android Application. If you want to see the Android application this is here.

This application is build with Ruby-On-Rails.

How to

  • bundle install : install dependencies
  • rake db:create db:migrate : initialize database (PostgreSQL and you may need to edit config/database.yml with your credential)
  • rails server : start the server
  • Go to http://localhost:3000 to see the backoffice
  • You can import knowledge base, they are in the repository (sport.csv, southparc.csv, pokemon.csv)

Features

  • Import and export knowledge base in CSV and Excel format
  • Exported knowledge base are Weka compatible (Data mining and machine learning software)
  • Live edition of knowledge base through the back-office
  • Choose the next question based on entropy calculation
  • Provide JSON API to communicate with the Android application

Backoffice screenshots

home

knowledge_base

knowledge_base_questions

knowledge_base_new_entity

Contributors

Aschen (API part)
Nashkar (Android part)

metakinator-api's People

Contributors

aschen avatar

Stargazers

Marian Petrov avatar Kenshi Muto avatar Yash Desai avatar Arnaud avatar

Watchers

James Cloos avatar  avatar Arnaud avatar  avatar

metakinator-api's Issues

how to start the questions

Well, first question is usable and working this api?

I can run it (after update some gems an that) and using the backoffice, i can load without problems the examples, but after done that.

What are the usable endpoints to use the api?

how to you get a first question and start to send sanswersto guess a character?

That documentation is missing.

Sifthat exist, please update the readme with how to use the api :)
¡thanks!

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.