File tree Expand file tree Collapse file tree 3 files changed +11
-8
lines changed
Expand file tree Collapse file tree 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,23 @@ Add the following dependency to your pom.xml:
2222<dependency >
2323 <groupId >org.eu.zajc</groupId >
2424 <artifactId >akiwrapper</artifactId >
25- <version >3.0.0 </version >
25+ <version >3.0.1 </version >
2626</dependency >
2727```
2828#### Gradle
2929Add the following dependency to your build.gradle:
3030``` gradle
31- implementation group: 'org.eu.zajc', name: ' akiwrapper', version: ' 3.0.0 '
31+ implementation 'org.eu.zajc: akiwrapper: 3.0.1 '
3232```
3333
34- ## Usage
34+ #### Gradle Kotlin DSL
35+ Add the following dependency to your build.gradle.kts:
36+ ``` gradle
37+ implementation("org.eu.zajc:akiwrapper:3.0.1")
38+ ```
3539
40+ ## Usage
3641### Starting the game
37-
3842To access the Akinator API, you'll need an Akiwrapper object. One can be created like so:
3943``` java
4044Akiwrapper aw = new AkiwrapperBuilder (). build();
@@ -51,7 +55,6 @@ Akiwrapper aw = new AkiwrapperBuilder()
5155(keep in mind that not all language-theme combinations are supported, though all languages support ` CHARACTER ` )
5256
5357### The game loop
54-
5558Akinator sends two types of queries: questions (* "Is your character an X?"* , * "Does your character Y?"* ) and guesses
5659(* "Is this your character?"* ). You'll typically want to set up a query-answer loop. Fetch the first query with
5760``` java
Original file line number Diff line number Diff line change 55
66 <groupId >org.eu.zajc</groupId >
77 <artifactId >akiwrapper-example</artifactId >
8- <version >3.0.0 </version >
8+ <version >3.0.1 </version >
99
1010 <name >Akiwrapper Example</name >
1111 <description >An example for Akiwrapper, the Java API wrapper for Akinator</description >
4141 <dependency >
4242 <groupId >org.eu.zajc</groupId >
4343 <artifactId >akiwrapper</artifactId >
44- <version >3.0.0 </version >
44+ <version >3.0.1 </version >
4545 </dependency >
4646
4747 <!-- Logging Backend -->
Original file line number Diff line number Diff line change 55
66 <groupId >org.eu.zajc</groupId >
77 <artifactId >akiwrapper</artifactId >
8- <version >3.0.0 </version >
8+ <version >3.0.1 </version >
99
1010 <name >Akiwrapper</name >
1111 <description >A Java API wrapper for Akinator</description >
You can’t perform that action at this time.
0 commit comments