Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Generate solutions and play Boggle game (French, English and Finnish)

NotificationsYou must be signed in to change notification settings

dcomtois/Boggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate solutions and play Boggle (in English, French or Finnish)

Added support for Finnish language ("fi")

Getting Started

First, install the package:

library(devtools)install_github("jtuimala/Boggler")

Next, just use one ofPlay.Boggle() orSolve.Boggle() functions, specifying the language as argument. That's it!

What to expect

When you usePlay.Boggle(), the letters are shuffled and you get a plot looking like this one:Boggle letters

Behind the scenes, letters are connected via an igraph:Boggle igraph

Et puis après?

> Play.Boggle("fr")# use "en" for EnglishVeuillezpatienterpendantlarecherchedessolutions...1:ait+1pt(s) (tempsrestant:99secs)1:

At the end, you get your score, as well as the maximum possible score.

To get the list of all possible words, just proceed like this:

>solutions<- Play.Boggle()...> head(solutions$solutions)wordpts1ada12ace13des14dec15est16sec1> tail(solutions$solutions)wordpts81absent382destine583dentine584sentine585accents586centaine11

Or, if you forgot to assign the results to a variable:

> Play.Boggle()...> tail(.Last.value$solutions)wordpts81absent382destine583dentine584sentine585accents586centaine11

About

Generate solutions and play Boggle game (French, English and Finnish)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp