GithubHelp home page GithubHelp logo

gamble-market's Introduction

Gamble Market

준비

  1. git pull

  2. gem은 최소한으로 썼는데, rack은 설치해야 해요.

$> gem install rack

  1. data 폴더에 players.csv라는 이름으로 파일 미리 만들어두세요. 안 그러면 실행 안 될 수 있음. (서버 붙이면서, 파라미터 받는 게 문제가 좀 생겨서 고정시켰어요.)

실행

  1. 그래프: ‘rackup’을 입력하면 로컬 서버가 구동돼요. 주소는

http://localhost:9292

말한 대로 사람수를 누적해서 표시했음.

  1. 시뮬레이션을 돌리려면, 서버와는 상관없고,

$> ruby run.rb

입력하면 log 폴더에 결과 생성돼요.

진행 순서

  1. 마켓은 제품(goods)별로 독립적
  2. 플레이어 명단을 섞는다(shuffle).
  3. wtp와 wta를 번갈아 진행한다.

더 필요한 기능이나 리포트가 있으면 알려줘요.

gamble-market's People

Contributors

unoxyz avatar z0nam avatar

Watchers

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