Skip to content

Commit

Permalink
Coded myself some bitches lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxiuam authored Mar 23, 2022
0 parents commit bbfaa00
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>gq.noxiuam.bitches</groupId>
<artifactId>Bitches</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>

<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.github.javafaker</groupId>
<artifactId>javafaker</artifactId>
<version>0.12</version>
</dependency>
</dependencies>
</project>
28 changes: 28 additions & 0 deletions src/main/java/gq/noxiuam/bitches/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package gq.noxiuam.bitches;

import com.github.javafaker.Faker;
import gq.noxiuam.bitches.object.Bitch;
import gq.noxiuam.bitches.object.data.Races;

import java.util.*;

public class Main {

// Make it public so I can get more bitches!
public final List<Bitch> allMyBitches = new ArrayList<>();

public Main() {
// Random name generator, meaning my bitches can be a guy as well.
Faker faker = new Faker();

// Gives me more bitches until the machine can't compute anymore
for (int i = 0; i < Integer.MAX_VALUE; i++) {
this.allMyBitches.add(new Bitch(faker.name().firstName(), "they/them", new Random().nextInt(30) + 18, Races.values()[new Random().nextInt(Races.values().length)]));
System.out.println("New Bitch: " + this.allMyBitches.get(i).getName());
}
}

public static void main(String[] args) {
new Main();
}
}
15 changes: 15 additions & 0 deletions src/main/java/gq/noxiuam/bitches/object/Bitch.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package gq.noxiuam.bitches.object;

import gq.noxiuam.bitches.object.data.Races;
import lombok.*;

// Generic bitch
@Getter @AllArgsConstructor
public class Bitch {
private String name;
private String pronouns;

private int age;

private Races race;
}
10 changes: 10 additions & 0 deletions src/main/java/gq/noxiuam/bitches/object/data/Races.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package gq.noxiuam.bitches.object.data;

// Define some races off the top of my head
public enum Races {
CAUCASIAN,
AFRICAN,
ASIAN,
HISPANIC,
INDIAN
}

0 comments on commit bbfaa00

Please sign in to comment.