Coder Social home page Coder Social logo

ac-keijiban's Introduction

License: MIT

AC-Keijiban

Sends a random message from the Animal Crossing: Wild World video game on Nintend DS created by Katsuya Eguchi and published in 2005.

The quotes come from three types of board message:

  • "Message of the Week"
  • "Poetry"
  • "Talking to Myself"

Installation

You have to add this module to your NPM project folder.

$ npm install ac-keijiban

Example

Importing the module

// Require with a language (format xx)
const acKeijiban = require('ac-keijiban')('en');
// Require with a language (format xx-YY) sets 'en'(format xx)
const acKeijiban = require('ac-keijiban')('en-US')
// Require without an argument sets 'en'
const acKeijiban = require('ac-keijiban')();

Displaying a random "Message of the Week"

console.log('*Message of the Week*');
console.log(acKeijiban.messageOfTheWeek.random());

Displaying a random "Poetry"

console.log('-Poetry-');
console.log(acKeijiban.poetry.random());

Displaying a random "Talking to Myself"

console.log('-Talking to Myself-');
console.log(acKeijiban.talkingToMyself.random());

Translation

For the moment, the only language avaible is English. The French messages are being collected directly from Animal Crossing: Wild World on Nintendo DS.

Obviously, you are free to participate to the translation in French or in any other language.

Avaible languages

English

  • "Message of the Week": 85 (complete)
  • "Poetry": 2 (complete)
  • "Talking to Myself": 74 (complete)

French

  • "Message of the Week": 8
  • "Poetry": 0
  • "Talking to Myself": 4

Thanks

Thanks to:

Licenses

  • My source code is published under MIT License.
  • All the quotes from Animal Crossing: Wild World is the property of Nintendo.

ac-keijiban's People

Contributors

bellechoucroute avatar helmasaur avatar

Watchers

 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.